Added deploy to AWS in build job - Fix 1
All checks were successful
AWS Deploy on Push / build (push) Successful in 2m45s
All checks were successful
AWS Deploy on Push / build (push) Successful in 2m45s
This commit is contained in:
@@ -24,7 +24,7 @@ jobs:
|
|||||||
- name: Install Python dependencies and CDK
|
- name: Install Python dependencies and CDK
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
# install your Python dependencies here
|
pip install aws-cdk-lib constructs
|
||||||
npm install -g aws-cdk
|
npm install -g aws-cdk
|
||||||
- name: Configure AWS credentials
|
- name: Configure AWS credentials
|
||||||
uses: aws-actions/configure-aws-credentials@master
|
uses: aws-actions/configure-aws-credentials@master
|
||||||
@@ -34,5 +34,5 @@ jobs:
|
|||||||
aws-region: "us-east-2"
|
aws-region: "us-east-2"
|
||||||
- name: Deploy to AWS
|
- name: Deploy to AWS
|
||||||
run: cdk deploy --app="python3 ${PWD}/app.py" --require-approval=never
|
run: cdk deploy --app="python3 ${PWD}/app.py" --require-approval=never
|
||||||
|
|
||||||
- run: echo "This job's status is ${{ job.status }}."
|
- run: echo "This job's status is ${{ job.status }}."
|
||||||
Reference in New Issue
Block a user