Skip to content

Commit

Permalink
Atualiza configuração de deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
guipratiko committed Feb 3, 2025
1 parent c305730 commit 5bbbd9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
port: 22
script: |
cd /var/www/luizautomoveis
git config --global --add safe.directory /var/www/luizautomoveis
git pull
npm install
pm2 restart luizautomoveis
git fetch origin main
git reset --hard origin/main
npm install --production
pm2 restart luizautomoveis || pm2 start server.js --name luizautomoveis

0 comments on commit 5bbbd9f

Please sign in to comment.