Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 0e7be89

Browse files
Fix: Fix permission in deploy.yaml
1 parent 5398b84 commit 0e7be89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ jobs:
6565
ssh -i deploy_key.pem -o StrictHostKeyChecking=no ${{ env.HOST }} "sudo mv /tmp/simple-url-shortener.service /etc/systemd/system/simple-url-shortener.service"
6666
- name: Start application
6767
run: |
68-
ssh -i deploy_key.pem -o StrictHostKeyChecking=no ${{ env.HOST }} "systemctl daemon-reload && systemctl restart simple-url-shortener.service"
68+
ssh -i deploy_key.pem -o StrictHostKeyChecking=no ${{ env.HOST }} "sudo systemctl daemon-reload && sudo systemctl restart simple-url-shortener.service"

0 commit comments

Comments
 (0)