This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
name: Deploy via Script Externo
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
workflow_dispatch: # Permite executar manualmente
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: deploy
|
||||
|
||||
steps:
|
||||
- name: 📥 Baixar código
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: 🔧 Configurar permissões
|
||||
run: chmod +x scripts/*.sh
|
||||
|
||||
- name: 🚀 Executar deploy
|
||||
run: ./scripts/deploy.sh
|
||||
env:
|
||||
DEPLOY_ENV: production
|
||||
TIMESTAMP: $(date +%s)
|
||||
Reference in New Issue
Block a user