Skip to content

Commit f789b3c

Browse files
committed
chore(ci): add conditional trigger for docs workflow
1 parent 77dac81 commit f789b3c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ concurrency:
2020

2121
jobs:
2222
build:
23+
if: >
24+
github.event_name == 'push' ||
25+
(github.event_name == 'pull_request' && !github.event.pull_request.draft)
26+
2327
runs-on: ubuntu-latest
2428
defaults:
2529
run:

0 commit comments

Comments
 (0)