File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed
Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 1- name : Deploy to Staging
1+ name : Deploy to Development
22
33on :
44 push :
55 branches :
6- - staging
6+ - main
77
88permissions :
99 id-token : write
@@ -30,15 +30,10 @@ jobs:
3030 cd backend
3131 npm test
3232
33- - name : Run CDK tests
34- run : |
35- cd backend
36- npm run test:cdk
37-
3833 deploy :
3934 needs : test
4035 runs-on : ubuntu-latest
41- environment : staging
36+ environment : development
4237
4338 steps :
4439 - uses : actions/checkout@v4
7065 cd backend
7166 npm run cdk deploy -- \
7267 --require-approval never \
73- --context environment=staging
68+ --context environment=development
7469 env :
7570 CDK_DEFAULT_ACCOUNT : ${{ secrets.AWS_ACCOUNT_ID }}
7671 CDK_DEFAULT_REGION : us-east-1
Original file line number Diff line number Diff line change 3030 cd backend
3131 npm test
3232
33- - name : Run CDK tests
34- run : |
35- cd backend
36- npm run test:cdk
37-
3833 deploy :
3934 needs : test
4035 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments