Skip to content

Workflow file for this run

name: Deploy Workflow
on:
workflow_run:
workflows: ["Changeset Workflow"]
types:
- completed
workflow_dispatch: # Permite rodar manualmente pelo GitHub UI
jobs:
deploy:
if: >-
${{
(github.event_name == 'workflow_dispatch') ||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
}}
runs-on: ubuntu-latest
steps:

Check failure on line 19 in .github/workflows/ci_workflow.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci_workflow.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
- name: Checkout código
uses: actions/checkout@v4
- name: Configurar Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Instalar dependências
run: npm install
- name: Construir aplicação
run: npm run build
- name: Fazer deploy
run: echo "Deploy bem-sucedido após changeset!"