Skip to content

Commit 8693a35

Browse files
committed
fix: don't deploy doc in draft mode
1 parent 28b5513 commit 8693a35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ jobs:
161161
needs: docs
162162
if: |
163163
always() &&
164+
github.event.pull_request.draft != true &&
164165
(needs.docs.result == 'success' || needs.docs.result == 'skipped') &&
165166
contains(github.event.pull_request.labels.*.name, 'deploy-pr-doc')
166167
steps:

0 commit comments

Comments
 (0)