Skip to content

Commit

Permalink
fix droplet deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
dankoster committed Dec 4, 2024
1 parent aa2983d commit e503cbf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/Droplet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ jobs:
SSH_KEY: ${{ secrets.PROD_SSH_KEY }}
SSH_HOST: ${{ secrets.PROD_SSH_HOST }}

- name: Stop the server
run: ssh prod 'systemctl stop chatmux'

- name: Get latest source
run: ssh prod 'cd /mux && git fetch && git pull'
run: ssh prod 'cd /mux && git fetch && git pull && deno task build'

- name: Restart the server
run: ssh prod 'systemctl restart chatmux'

0 comments on commit e503cbf

Please sign in to comment.