Skip to content

Commit

Permalink
Update cd-main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Asadaaaaa authored Oct 6, 2023
1 parent e6a0568 commit 2c52845
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cd-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
cd sersow/main/sersow-view
git fetch
cd app/sersow/web/production
git reset --hard HEAD
git pull origin main
npm i
npm run build
pm2 restart main-sersow-view
pm2 restart sersow-web-production

0 comments on commit 2c52845

Please sign in to comment.