File tree Expand file tree Collapse file tree 1 file changed +16
-22
lines changed
Expand file tree Collapse file tree 1 file changed +16
-22
lines changed Original file line number Diff line number Diff line change 55 - v*
66
77jobs :
8- call-workflow :
9- name : ' Call deployment workflow for target environment'
10- runs-on : ubuntu-latest
11- steps :
12- - name : ' Checkout'
13- uses : actions/checkout@v2
14- - name : ' Deploy dev'
15- uses : ./.github/workflows/deploy.yml
16- if : contains(github.ref, 'dev')
17- with :
18- aws-region : us-east-1
19- s3-bucket-name : ips-viewer-app
20- aws-assume-role : ${{ secrets.GH_AWS_SERVICE_ROLE_DEV }}
21- - name : ' Deploy prod'
22- # uses: ./.github/workflows/deploy.yml
23- if : contains(github.ref, 'prod')
24- # with:
25- # aws-region: us-east-1
26- # s3-bucket-name: ips-viewer-app-prod
27- # aws-assume-role: ${{ secrets.GH_AWS_SERVICE_ROLE_PROD }}
28- run :
29- echo 'Not yet implemented'
8+ deploy-dev :
9+ if : contains(github.ref, 'dev')
10+ name : ' Call dev deployment workflow'
11+ uses : ./.github/workflows/deploy.yml
12+ with :
13+ aws-region : us-east-1
14+ s3-bucket-name : ips-viewer-app
15+ aws-assume-role : ${{ secrets.GH_AWS_SERVICE_ROLE_DEV }}
16+ deploy-prod :
17+ if : contains(github.ref, 'prod')
18+ name : ' Call dev deployment workflow'
19+ uses : ./.github/workflows/deploy.yml
20+ with :
21+ aws-region : us-east-1
22+ s3-bucket-name : ips-viewer-app
23+ aws-assume-role : ${{ secrets.GH_AWS_SERVICE_ROLE_PROD }}
You can’t perform that action at this time.
0 commit comments