Skip to content

Commit

Permalink
Trigger web publish on merged PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
cowuake authored Jun 10, 2024
1 parent 8ff119e commit 30a5d17
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ on:
branches:
- main

# pull_request:
pull_request:
types: [closed]

push:
branches:
- main
Expand All @@ -34,9 +36,9 @@ jobs:
runs-on: ubuntu-latest
if: |
github.event_name == 'push' ||
github.event_name == 'pull_request' ||
github.event_name == 'dispatch' ||
github.event.workflow_run.conclusion == 'success'
github.event.workflow_run.conclusion == 'success' ||
github.event.pull_request.merged == true
steps:
- name: Checkout
Expand Down

0 comments on commit 30a5d17

Please sign in to comment.