Skip to content

Commit

Permalink
chore(ci/cd): update workflow vps
Browse files Browse the repository at this point in the history
  • Loading branch information
lgcarlinf committed Oct 4, 2024
1 parent 2354e5e commit 63d2f6a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ jobs:
- name: Deploy to VPS
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.VPS_USER }}@${{ secrets.VPS_IP }} << 'EOF'
source ~/.bashrc
source ~/.profile
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
cd personal/BACK_CRUD_MERN
git pull origin master
npm install
Expand Down

0 comments on commit 63d2f6a

Please sign in to comment.