Added installation of aws client to workflow - Fix 1
Some checks failed
AWS Deploy on Push / build (push) Failing after 9s
Some checks failed
AWS Deploy on Push / build (push) Failing after 9s
This commit is contained in:
@@ -41,8 +41,8 @@ jobs:
|
|||||||
run: cdk deploy --app="python3 ${PWD}/app.py" --require-approval=never
|
run: cdk deploy --app="python3 ${PWD}/app.py" --require-approval=never
|
||||||
|
|
||||||
- name: Install AWS CLI
|
- name: Install AWS CLI
|
||||||
uses: aws-actions/setup-aws-cli@master
|
uses: aws-actions/setup-aws-cli@v2
|
||||||
|
|
||||||
- name: Update application on instance
|
- name: Update application on instance
|
||||||
run: |
|
run: |
|
||||||
INSTANCE_ID=$(aws ec2 describe-instances --filters "Name=tag:Name,Values=IptvUpdater/IptvUpdaterInstance" --query "Reservations[*].Instances[*].InstanceId" --output text)
|
INSTANCE_ID=$(aws ec2 describe-instances --filters "Name=tag:Name,Values=IptvUpdater/IptvUpdaterInstance" --query "Reservations[*].Instances[*].InstanceId" --output text)
|
||||||
|
|||||||
Reference in New Issue
Block a user