Skip to content

Commit

Permalink
chore: 修改 github action
Browse files Browse the repository at this point in the history
  • Loading branch information
JerryFan626 committed Dec 3, 2024
1 parent 567c055 commit 13a2455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 13a2455

Please sign in to comment.