Fixed process of updating app on running instances
All checks were successful
AWS Deploy on Push / build (push) Successful in 1m29s

This commit is contained in:
2025-05-21 16:16:02 -05:00
parent 5767124031
commit be719a6e34
5 changed files with 21 additions and 4 deletions

View File

@@ -57,7 +57,8 @@ jobs:
- name: Update application on instance
run: |
INSTANCE_IDS=$(aws ec2 describe-instances \
--filters "Name=tag:Name,Values=IptvUpdater/IptvUpdaterInstance" \
--region us-east-2 \
--filters "Name=tag:Name,Values=IptvUpdaterStack/IptvUpdaterInstance" \
"Name=instance-state-name,Values=running" \
--query "Reservations[].Instances[].InstanceId" \
--output text)