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

Commit 04e93ef

Browse files
Fix 3: Fix permission in deploy.yaml
1 parent 0e7be89 commit 04e93ef

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
@@ -47,7 +47,7 @@ jobs:
4747
DEPLOY_SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
4848
- name: Remove old systemd service file
4949
run: |
50-
ssh -i deploy_key.pem -o StrictHostKeyChecking=no ${{ env.HOST }} "rm -f /etc/systemd/system/simple-url-shortener.service"
50+
ssh -i deploy_key.pem -o StrictHostKeyChecking=no ${{ env.HOST }} "sudo rm -f /etc/systemd/system/simple-url-shortener.service"
5151
- name: List workspace contents
5252
run: |
5353
echo "Listing deployment folder contents:"

0 commit comments

Comments
 (0)