Skip to content

Commit 3b162aa

Browse files
committed
Update github workflows
1 parent 05020f6 commit 3b162aa

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

.github/workflows/deploy-staging.yml renamed to .github/workflows/deploy-development.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Deploy to Staging
1+
name: Deploy to Development
22

33
on:
44
push:
55
branches:
6-
- staging
6+
- main
77

88
permissions:
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
@@ -70,7 +65,7 @@ jobs:
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

.github/workflows/deploy-production.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ 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

0 commit comments

Comments
 (0)