Skip to content

Commit

Permalink
Merge pull request #156 from NiloCK/144-deployment-scripts
Browse files Browse the repository at this point in the history
#144 'hang up' ssh session after server reload
  • Loading branch information
NiloCK authored Nov 26, 2021
2 parents dd0631b + 7dfb929 commit 250cc4e
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 250cc4e

Please sign in to comment.