Skip to content

Commit c1c83b4

Browse files
committed
chore: always deploy docs when CI is successful
1 parent ad12c26 commit c1c83b4

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ jobs:
560560
561561
############ BUILD DOCS ############
562562
build-docs:
563-
if: always() && needs.changes.outputs.build-docs == 'true'
563+
if: always() && needs.changes.result == 'success' && needs.build-other-packages.result == 'success'
564564
name: Build Docs
565565
needs:
566566
- changes

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ jobs:
1919
deploy:
2020
name: Cloudflare Pages Deployment
2121
if: >
22-
github.repository == 'QwikDev/qwik'
22+
github.repository == 'QwikDev/qwik' &&
23+
github.event.workflow_run.conclusion == 'success'
2324
runs-on: ubuntu-latest
2425
steps:
2526
- name: Check for docs artifact

0 commit comments

Comments
 (0)