mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2024-12-27 09:29:18 +01:00
fix ci
This commit is contained in:
parent
18cba26e52
commit
feb202a285
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@ -24,5 +24,5 @@ jobs:
|
||||
hugo --minify
|
||||
cd public; tar czf x *
|
||||
echo -e "${{ secrets.SK }}" > sk.txt
|
||||
scp x ${{ secrets.HOST }}:/tmp/ -i sk.txt
|
||||
ssh ${{ secrets.HOST }} -i sk.txt "sudo rm -rf /var/www/html/rustdesk.com/docs/* && sudo tar xzf /tmp/x -C /var/www/html/rustdesk.com/docs/ && /bin/rm /tmp/x && sudo chown www-data:www-data /var/www/html/rustdesk.com/docs/ -R"
|
||||
scp -i sk.txt x ${{ secrets.HOST }}:/tmp/
|
||||
ssh -i sk.txt ${{ secrets.HOST }} "sudo rm -rf /var/www/html/rustdesk.com/docs/* && sudo tar xzf /tmp/x -C /var/www/html/rustdesk.com/docs/ && /bin/rm /tmp/x && sudo chown www-data:www-data /var/www/html/rustdesk.com/docs/ -R"
|
||||
|
Loading…
Reference in New Issue
Block a user