We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6702214 commit 6623f4dCopy full SHA for 6623f4d
.github/workflows/deploy.yml
@@ -25,4 +25,4 @@ jobs:
25
26
- name: Deploy Application
27
run: |
28
- ssh -o StrictHostKeyChecking=accept-new -i ~/.ssh/id_rsa ubuntu@${{ secrets.EC2_PUBLIC_IP }} "cd /home/ubuntu/fastapi-application-with-cicd-pipeline && git pull origin main && systemctl restart fastapi.service"
+ ssh -o StrictHostKeyChecking=accept-new -i ~/.ssh/id_rsa ubuntu@${{ secrets.EC2_PUBLIC_IP }} "cd /home/ubuntu/fastapi-application-with-cicd-pipeline && git pull origin main && sudo systemctl restart fastapi.service"
0 commit comments