Skip to content

Commit

Permalink
#144 'hang up' ssh session after server reload
Browse files Browse the repository at this point in the history
  • Loading branch information
NiloCK committed Nov 26, 2021
1 parent 35ed499 commit 7dfb929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-caddyfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
echo "deploying updated Caddyfile in place of prior"
scp .deployment/Caddyfile ${{ secrets.DO_USERNAME }}@eduquilt.com:~/Caddyfile
echo "reloading the caddyfile"
ssh ${{ secrets.DO_USERNAME }}@eduquilt.com 'curl localhost:2019/load \
ssh -t ${{ secrets.DO_USERNAME }}@eduquilt.com 'curl localhost:2019/load \
-X POST \
-H "Content-Type: text/caddyfile" \
--data-binary @Caddyfile'

0 comments on commit 7dfb929

Please sign in to comment.