Skip to content

Commit

Permalink
#144 another approach to cp into permissioned dir
Browse files Browse the repository at this point in the history
  • Loading branch information
NiloCK committed Nov 19, 2021
1 parent 52dc1e3 commit 9b46450
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 @@ -19,6 +19,6 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- run: |
echo "deploying updated Caddyfile in place of prior"
scp .deployment/Caddyfile ${{ secrets.DO_USERNAME }}@eduquilt.com:/etc/caddy/Caddyfile
cat .deployment/Caddyfile | ssh ${{ secrets.DO_USERNAME }}@eduquilt.com "sudo tee -a /etc/caddy/Caddyfile"
echo "restarting the caddy service"
ssh ${{ secrets.DO_USERNAME }}@eduquilt.com caddy reload

0 comments on commit 9b46450

Please sign in to comment.