Skip to content

Commit

Permalink
fix: root privileges to run docker
Browse files Browse the repository at this point in the history
  • Loading branch information
aerin-brown-codes authored Sep 19, 2023
1 parent ea2e754 commit 95c7335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
SSH_IP: ${{ secrets.SSH_IP }}

- name: Deploy Site
run: ssh my-vps 'cd ${{ secrets.PROJECT_ROOT }} && chmod +x redeploy-site.sh && ./redeploy-site.sh && docker compose ps'
run: ssh my-vps 'cd ${{ secrets.PROJECT_ROOT }} && chmod +x redeploy-site.sh && ./redeploy-site.sh && sudo docker compose ps'

- name: Notify Discord
run: curl -s -X POST "${{ secrets.DISCORD_WEBHOOK }}" -d "content=🚀 Deployment Successful"

0 comments on commit 95c7335

Please sign in to comment.