File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 type : string
1515 required : true
1616
17- env :
18- AWS_REGION : eu-north-1
19-
2017jobs :
2118 build-test-deploy :
2219 name : Build, test and deploy ${{ inputs.environment }}
2522 id-token : write
2623 contents : read
2724 environment : ${{ inputs.environment }}
28- outputs :
29- url : ${{ steps.pulumi.outputs.url }}
3025 steps :
3126 - uses : actions/checkout@v3
3227 - name : Use Node.js
Original file line number Diff line number Diff line change 1- name : " Dev: build, test and deploy"
1+ name : ' Dev: build, test and deploy'
22on :
3- push :
4- branches : [" main" ]
5- workflow_dispatch :
3+ push :
4+ branches : [' main' ]
5+ workflow_dispatch :
66
77jobs :
8- deploy-dev :
9- uses : Virtual-Finland-Development/codesets/.github/workflows/build-test-deploy.yml@main
10- secrets : inherit
11- with :
12- environment : dev
8+ deploy-dev :
9+ uses : Virtual-Finland-Development/codesets/.github/workflows/build-test-deploy.yml@main
10+ secrets : inherit
11+ with :
12+ environment : dev
Original file line number Diff line number Diff line change 1- name : " Staging: build, test and deploy"
1+ name : ' Staging: build, test and deploy'
22on :
3- workflow_dispatch :
4- branches : ["main"]
3+ workflow_dispatch :
54
65jobs :
7- deploy-staging :
8- uses : Virtual-Finland-Development/codesets/.github/workflows/build-test-deploy.yml@main
9- secrets : inherit
10- with :
11- environment : staging
6+ deploy-staging :
7+ uses : Virtual-Finland-Development/codesets/.github/workflows/build-test-deploy.yml@main
8+ secrets : inherit
9+ with :
10+ environment : staging
You can’t perform that action at this time.
0 commit comments