Skip to content

Commit

Permalink
Update github-actions-demo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmorais authored Sep 4, 2024
1 parent 4da9d52 commit e9360aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
key: ${{secrets.VPS_SSH_KEY}}
port: 22
script: |
cd /home/Dnutri
git pull origin main
export NVM_DIR='/root/.nvm';
source \$NVM_DIR/nvm.sh;
export PATH=/root/.nvm/versions/node/v22.7.0/bin:\$PATH;
cd /home/Dnutri
git pull origin main
cd backend
pm2 stop src
npm i && pm2 start src
Expand Down

0 comments on commit e9360aa

Please sign in to comment.