From ad12c2641c82953b82a260f7b9c66e7b36208800 Mon Sep 17 00:00:00 2001 From: Varixo Date: Sun, 15 Feb 2026 17:54:39 +0100 Subject: [PATCH 1/2] chore: use official cloudflare workers action for deployment --- .github/workflows/deploy-docs.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index e2adb76e1cf..761118cee42 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -64,16 +64,14 @@ jobs: cp -r packages/docs/* packages/docs/dist/ || true fi - # not the official version, so be careful when updating - name: Deploy to Cloudflare Pages if: ${{ steps.check-artifact.outputs.has-docs == 'true' }} - uses: AdrianGonz97/refined-cf-pages-action@6c0d47ff7c97c48fa702b6d9f71f7e3a7c30c7d8 + uses: cloudflare/wrangler-action@v3 with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - projectName: 'qwik-docs' - directory: packages/docs/dist - githubToken: ${{ secrets.GITHUB_TOKEN }} + command: pages deploy packages/docs/dist --project-name=qwik-docs + gitHubToken: ${{ secrets.GITHUB_TOKEN }} - name: Skip message when no docs artifact if: ${{ steps.check-artifact.outputs.has-docs != 'true' }} From c1c83b4c3cea30ae37ae2093af7f14b45f41b68e Mon Sep 17 00:00:00 2001 From: Varixo Date: Sun, 15 Feb 2026 17:58:10 +0100 Subject: [PATCH 2/2] chore: always deploy docs when CI is successful --- .github/workflows/ci.yml | 2 +- .github/workflows/deploy-docs.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a95007c9927..9d02405ce6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -560,7 +560,7 @@ jobs: ############ BUILD DOCS ############ build-docs: - if: always() && needs.changes.outputs.build-docs == 'true' + if: always() && needs.changes.result == 'success' && needs.build-other-packages.result == 'success' name: Build Docs needs: - changes diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 761118cee42..9aaf461464a 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -19,7 +19,8 @@ jobs: deploy: name: Cloudflare Pages Deployment if: > - github.repository == 'QwikDev/qwik' + github.repository == 'QwikDev/qwik' && + github.event.workflow_run.conclusion == 'success' runs-on: ubuntu-latest steps: - name: Check for docs artifact