Skip to content

Commit 06de7e5

Browse files
authored
Merge pull request #53 from ModusCreateOrg/fix-github-workflow
Fix GitHub workflow
2 parents 495525a + bdaedbf commit 06de7e5

File tree

2 files changed

+4
-85
lines changed

2 files changed

+4
-85
lines changed

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

Lines changed: 4 additions & 9 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
@@ -68,9 +63,9 @@ jobs:
6863
- name: Deploy to AWS
6964
run: |
7065
cd backend
71-
npm run cdk deploy -- \
66+
npm run cdk deploy ai-team-medical-reports-stack-development -- \
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)