Skip to content

Commit

Permalink
feat(*): bug8
Browse files Browse the repository at this point in the history
  • Loading branch information
Aimee1608 committed Mar 2, 2022
1 parent 031a150 commit aadcb3b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,14 @@ jobs:
with:
host: ${{ secrets.HOST }}
user: ${{ secrets.USERNAME }}
pass: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
key: ${{ secrets.ALI_SSH_KEY }}
connect_timeout: 60s
first_ssh: |
scp: |
'./release.tgz' => /home/www/Aimee/myblog2.0-server
last_ssh: |
cd /home/www/Aimee/myblog2.0-server
ls
tar -zxvf release.tgz
npm install
npm run pm2:prod

0 comments on commit aadcb3b

Please sign in to comment.