Skip to content

Commit

Permalink
Update deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
privatebydefault authored Feb 10, 2025
1 parent f187a2d commit bd332e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
VPS_PRIVATE_KEY: ${{ secrets.VPS_PRIVATE_KEY }}
VPS_PORT: ${{ secrets.VPS_PORT }}
CADDY_USER: ${{ secrets.CADDY_USER }}
CADDY_PRIVATE_KEY: ${{ secrets.CADDY_PRIVATE_KEY }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -81,7 +82,7 @@ jobs:
with:
host: ${{ secrets.VPS_HOST }}
username: ${{ secrets.CADDY_USER }}
key: ${{ secrets.VPS_PRIVATE_KEY }}
key: ${{ secrets.CADDY_PRIVATE_KEY }}
port: ${{ secrets.VPS_PORT }}
script: |
echo "" | sudo -S /usr/bin/systemctl restart caddy
Expand Down

0 comments on commit bd332e2

Please sign in to comment.