Skip to content

Commit

Permalink
Switch back to saving deploy key
Browse files Browse the repository at this point in the history
  • Loading branch information
Arclite committed Mar 16, 2024
1 parent 5c3ed24 commit e8d01ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@ jobs:
name: "Built Site"
path: "public"

- name: "Save Deploy Key"
run: "echo -n \"${{ secrets.DEPLOY_KEY }}\" > deploy_key && chmod 700 deploy_key"

- name: "Publish Built Site"
run: "rsync -avz -e 'ssh -i <(echo -n \"'\"${{ secrets.DEPLOY_KEY }}\"'\") ./deploy_key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null' --progress public/ [email protected]:/srv/www/kineo"
run: "rsync -avz -e \"ssh -i ./deploy_key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null\" --progress public/ [email protected]:/srv/www/kineo"

0 comments on commit e8d01ca

Please sign in to comment.