From feb202a2858f87e568a715408bc39bad27b11557 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Mon, 10 Jul 2023 15:08:48 +0800 Subject: [PATCH] fix ci --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cb7f2b5..c735444 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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"