diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 26fd56e..4c9cc89 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -1,11 +1,10 @@ --- name: CD on: - workflow_run: - workflows: ["CI"] # Nombre del workflow CI - types: - - completed - branches: [main, develop] + push: + branches: + - main + - develop env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }} diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5c3e2b4..973cea0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,10 +1,6 @@ --- name: CI on: - push: - branches: - - main - - develop pull_request: branches: - main