Skip to content

Commit

Permalink
Corrige configuração do workflow de deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
guipratiko committed Feb 3, 2025
1 parent 8e7c3e6 commit a92543f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ jobs:
- name: Deploy to Digital Ocean
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.DROPLET_IP }}
host: 167.172.139.129
username: root
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 22
script: |
cd /var/www/luizautomoveis
git config --global --add safe.directory /var/www/luizautomoveis
git pull
npm install
pm2 restart luizautomoveis
pm2 restart luizautomoveis

0 comments on commit a92543f

Please sign in to comment.