Changed project name to be IPTV Manager Service
All checks were successful
AWS Deploy on Push / build (push) Successful in 8m29s
All checks were successful
AWS Deploy on Push / build (push) Successful in 8m29s
This commit is contained in:
@@ -58,7 +58,7 @@ jobs:
|
||||
run: |
|
||||
INSTANCE_IDS=$(aws ec2 describe-instances \
|
||||
--region us-east-2 \
|
||||
--filters "Name=tag:Name,Values=IptvUpdaterStack/IptvUpdaterInstance" \
|
||||
--filters "Name=tag:Name,Values=IptvManagerStack/IptvManagerInstance" \
|
||||
"Name=instance-state-name,Values=running" \
|
||||
--query "Reservations[].Instances[].InstanceId" \
|
||||
--output text)
|
||||
@@ -69,11 +69,11 @@ jobs:
|
||||
--instance-ids "$INSTANCE_ID" \
|
||||
--document-name "AWS-RunShellScript" \
|
||||
--parameters 'commands=[
|
||||
"cd /home/ec2-user/iptv-updater-aws",
|
||||
"cd /home/ec2-user/iptv-manager-service",
|
||||
"git pull",
|
||||
"pip3 install -r requirements.txt",
|
||||
"alembic upgrade head",
|
||||
"sudo systemctl restart iptv-updater"
|
||||
"sudo systemctl restart iptv-manager"
|
||||
]'
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user