Files
sysadmin-toolkit/.github/workflows/deploy.yml
T
admin 66b2e6f54a
Deploy via Script Externo / deploy (push) Waiting to run
Teste Shell Runner / shell-test (push) Successful in 6s
ShellCheck CI / shellcheck (push) Failing after 1s
Atualizar .github/workflows/deploy.yml
2026-05-30 04:34:39 +00:00

24 lines
487 B
YAML

name: Deploy via Script Externo
on:
push:
branches: [ main ]
workflow_dispatch: # Permite executar manualmente
jobs:
deploy:
runs-on: ubuntu-latest
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)