From 13a2455a91500b1655d1ec0bab6a44cc295c2974 Mon Sep 17 00:00:00 2001 From: Jerry Fan Date: Tue, 3 Dec 2024 09:41:42 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=20github=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 24a3a36..be8aeba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,5 +42,5 @@ jobs: - name: Deploy to server run: | - scp deploy.tar.gz package.json package-lock.json root@${{ secrets.SERVER_IP }}:/root/fastexcel-doc + scp deploy.tar.gz package.json root@${{ secrets.SERVER_IP }}:/root/fastexcel-doc ssh root@${{ secrets.SERVER_IP }} "cd /root/fastexcel-doc && rm -rf .next && tar -xzvf deploy.tar.gz --warning=no-unknown-keyword && pm2 restart fastexcel-doc" \ No newline at end of file