devops success test

This commit is contained in:
heyethereum
2024-06-20 00:05:40 +08:00
parent 75ae070c5d
commit 268748a07d
2 changed files with 2 additions and 1 deletions

View File

@@ -69,6 +69,7 @@ jobs:
aws ssm send-command --instance-ids ${{ env.INSTANCE_ID }} --document-name "AWS-RunShellScript" --comment "Create and start service" --parameters 'commands=[
"aws s3 cp s3://s3-bucket-safeqr/springboot-app.service /etc/systemd/system/springboot-app.service",
"aws s3 cp s3://s3-bucket-safeqr/springboot-app.var /etc/systemd/system/springboot-app.var",
"sudo systemctl stop springboot-app",
"sudo systemctl daemon-reload",
"sudo systemctl enable springboot-app",
"sudo systemctl start springboot-app",