revert(ci): workflow triggers

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-05-23 15:13:10 -03:00
parent f0c5a1d8d4
commit 0fc3a3d52e
2 changed files with 12 additions and 13 deletions

View File

@@ -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

View File

@@ -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