Skip to content

Teste de deploy automático #14

Teste de deploy automático

Teste de deploy automático #14

Workflow file for this run

name: Deploy to DigitalOcean
on:
push:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to Digital Ocean
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.DROPLET_IP }}
username: root
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd /var/www/luizautomoveis
git pull
npm install
pm2 restart luizautomoveis