Skip to content

Commit 04620cf

Browse files
committed
Fix deployment process on Github
1 parent 495525a commit 04620cf

File tree

2 files changed

+3
-84
lines changed

2 files changed

+3
-84
lines changed
Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy to Production
1+
name: Deploy to Development
22

33
on:
44
push:
@@ -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: production
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=production
68+
--context environment=development
7469
env:
7570
CDK_DEFAULT_ACCOUNT: ${{ secrets.AWS_ACCOUNT_ID }}
7671
CDK_DEFAULT_REGION: us-east-1

.github/workflows/deploy-staging.yml

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)