revert(ci): workflow triggers
This commit is contained in:
17
.github/workflows/deploy-preview.yml
vendored
17
.github/workflows/deploy-preview.yml
vendored
@@ -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
|
||||
|
||||
8
.github/workflows/deploy.yml
vendored
8
.github/workflows/deploy.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user