Skip to content

Commit

Permalink
ci: use correct identity file to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
KexyBiscuit committed Oct 3, 2024
1 parent 5eb0693 commit 98dafd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
echo '${{ secrets.KNOWN_HOST_STRING }}' >> ~/.ssh/known_hosts
echo '${{ secrets.KEY_CONTENT }}' > ~/.ssh/id_upload_key
chmod 0600 ~/.ssh/id_upload_key
rsync -rlOvhze ssh --progress public/* 'aosc@${{ secrets.UPLOAD_HOST }}:/srv/aosc-wiki/'
rsync -rlOvhze ssh --progress -i ~/.ssh/id_upload_key public/* 'aosc@${{ secrets.UPLOAD_HOST }}:/srv/aosc-wiki/'
echo "Visit your site at: https://wiki.aosc.io"

0 comments on commit 98dafd3

Please sign in to comment.