Merge pull request #830 from actions/add-environment

Add environment: production to partner starter workflows
This commit is contained in:
John Bohannon
2021-03-05 11:18:08 -05:00
committed by GitHub
6 changed files with 7 additions and 1 deletions
+1
View File
@@ -42,6 +42,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout
+2 -1
View File
@@ -33,6 +33,7 @@ jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout
@@ -77,4 +78,4 @@ jobs:
task-definition: ${{ steps.task-def.outputs.task-definition }}
service: sample-app-service
cluster: default
wait-for-service-stability: true
wait-for-service-stability: true
+1
View File
@@ -28,6 +28,7 @@ jobs:
setup-build-publish-deploy:
name: Setup, Build, Publish, and Deploy
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout
+1
View File
@@ -64,6 +64,7 @@ jobs:
openshift-ci-cd:
name: Build and deploy to OpenShift
runs-on: ubuntu-20.04
environment: production
steps:
- uses: actions/checkout@v2
+1
View File
@@ -30,6 +30,7 @@ jobs:
setup-build-publish-deploy:
name: Setup, Build, Publish, and Deploy
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout
+1
View File
@@ -54,6 +54,7 @@ jobs:
terraform:
name: 'Terraform'
runs-on: ubuntu-latest
environment: production
# Use the Bash shell regardless whether the GitHub Actions runner is ubuntu-latest, macos-latest, or windows-latest
defaults: