This commit is contained in:
rustdesk 2023-07-10 15:08:48 +08:00
parent 18cba26e52
commit feb202a285

View File

@ -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"