Skip to content

Commit

Permalink
feat: update manual trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
khoilen committed Jan 7, 2025
1 parent 02ba58c commit a41ae6f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-nt-css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ on:
jobs:
build-and-publish:
if: >
github.event.pull_request.merged == true &&
(github.event_name == 'workflow_dispatch' ||
(github.event.pull_request.merged == true &&
github.event.pull_request.base.ref == 'main' &&
contains(github.event.pull_request.head.ref, 'bump-nt-stylesheet')
contains(github.event.pull_request.head.ref, 'bump-nt-stylesheet')))
runs-on:
ubuntu-latest
steps:
Expand Down

0 comments on commit a41ae6f

Please sign in to comment.