From 0fc3a3d52e6b34c424a299cc518a8cdfed81cbdb Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L. de Mello" Date: Thu, 23 May 2024 15:13:10 -0300 Subject: [PATCH] revert(ci): workflow triggers --- .github/workflows/deploy-preview.yml | 17 ++++++++++------- .github/workflows/deploy.yml | 8 ++------ 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index 923146a..32dbc47 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -1,18 +1,21 @@ name: Deploy preview to vercel on: - workflow_run: - workflows: - - Checks - types: - - completed - branches-ignore: + push: + branches: - main + pull_request: + branches: + - main + types: + - opened + - synchronize + - reopened jobs: deploy: name: Deploy preview - if: ${{ github.event.workflow_run.conclusion == 'success' && github.repository == 'dot013/.www-new' }} + if: ${{ github.repository == 'dot013/.www-new' }} runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ac75bf7..5567c57 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,18 +1,14 @@ name: Deploy to vercel on: - workflow_run: - workflows: - - Checks - types: - - completed + push: branches: - main jobs: deploy: name: Deploy - if: ${{ github.event.workflow_run.conclusion == 'success' && github.repository == 'dot013/.www-new' }} + if: ${{ github.repository == 'dot013/.www-new' }} runs-on: ubuntu-latest steps: - name: Checkout