Skip to content

Commit 98dafd3

Browse files
committed
ci: use correct identity file to deploy
1 parent 5eb0693 commit 98dafd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ jobs:
2525
echo '${{ secrets.KNOWN_HOST_STRING }}' >> ~/.ssh/known_hosts
2626
echo '${{ secrets.KEY_CONTENT }}' > ~/.ssh/id_upload_key
2727
chmod 0600 ~/.ssh/id_upload_key
28-
rsync -rlOvhze ssh --progress public/* 'aosc@${{ secrets.UPLOAD_HOST }}:/srv/aosc-wiki/'
28+
rsync -rlOvhze ssh --progress -i ~/.ssh/id_upload_key public/* 'aosc@${{ secrets.UPLOAD_HOST }}:/srv/aosc-wiki/'
2929
echo "Visit your site at: https://wiki.aosc.io"

0 commit comments

Comments
 (0)