mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-10-25 13:30:19 +00:00
fix ci
This commit is contained in:
1 parent
18cba26e52
commit
feb202a285
1 file changed
+2
-2
@@ -24,5 +24,5 @@ jobs:
|
|||||||
hugo --minify
|
hugo --minify
|
||||||
cd public; tar czf x *
|
cd public; tar czf x *
|
||||||
echo -e "${{ secrets.SK }}" > sk.txt
|
echo -e "${{ secrets.SK }}" > sk.txt
|
||||||
scp x ${{ secrets.HOST }}:/tmp/ -i sk.txt
|
scp -i sk.txt x ${{ secrets.HOST }}:/tmp/
|
||||||
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"
|
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"
|
||||||
Reference in new issue
Block a user