Skip to content

Commit

Permalink
Add cdk requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
zacdezgeo committed Oct 11, 2024
1 parent 6399e79 commit 1a28c26
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/cd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
with:
role-to-assume: arn:aws:iam::017820688988:role/Space2Stats-Deploy-Role
aws-region: ${{ vars.CDK_DEFAULT_REGION }}

- name: Install CDK dependencies
working-directory: ./space2stats_api/cdk
run: |
pip install -r cdk/requirements-cdk.txt
- name: Deploy CDK stack to staging
working-directory: ./space2stats_api/cdk
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/cd-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ jobs:
with:
role-to-assume: arn:aws:iam::017820688988:role/Space2Stats-Deploy-Role
aws-region: ${{ vars.CDK_DEFAULT_REGION }}


- name: Install CDK dependencies
working-directory: ./space2stats_api/cdk
run: |
pip install -r cdk/requirements-cdk.txt
- name: Deploy CDK stack
working-directory: ./space2stats_api/cdk
env:
Expand Down

0 comments on commit 1a28c26

Please sign in to comment.