mirror of
https://github.com/Kyren223/website.git
synced 2025-12-28 17:04:37 +00:00
Now actually uses the SSH key to auth
This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -25,6 +25,6 @@ jobs:
|
||||
|
||||
- name: Deploy to server
|
||||
run: |
|
||||
rsync -avz --delete dist/ website@185.170.113.195:/srv/website
|
||||
rsync -avz --delete dist/ website@kyren.codes:/srv/website --rsh="ssh -i <(echo \"$SSH_PRIVATE_KEY\")"
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
|
||||
Reference in New Issue
Block a user