Skip to content

Commit

Permalink
fix: deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wook-hyung committed Dec 9, 2023
1 parent 1b98f7f commit 2c0dee2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
- run: npm ci
- run: npm test
- run: npm run build
- name: executing remote ssh commands using password
uses: appleboy/[email protected]
with:
Expand All @@ -28,6 +25,7 @@ jobs:
script: |
whoami
cd /root/312TEN034-backend
npx pm2 kill
git pull origin main
npm install --force
pm2 restart 0
npm install
npm run start

0 comments on commit 2c0dee2

Please sign in to comment.