From c4cddf8897e2d2a13a53d942fc0892f4b63b99cf Mon Sep 17 00:00:00 2001 From: Flaminel Date: Tue, 7 Jul 2026 17:31:44 +0300 Subject: [PATCH] Fix docs and status workflows being skipped on release (#660) --- .github/workflows/cloudflare-pages-status.yml | 10 ++++++++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cloudflare-pages-status.yml b/.github/workflows/cloudflare-pages-status.yml index 391187ca..f51c095e 100644 --- a/.github/workflows/cloudflare-pages-status.yml +++ b/.github/workflows/cloudflare-pages-status.yml @@ -1,4 +1,4 @@ -name: Deploy to Cloudflare Pages +name: Deploy Status Page to Cloudflare Pages on: workflow_call: @@ -7,11 +7,17 @@ on: description: 'Release version (e.g. v1.2.3)' type: string required: true + workflow_dispatch: + inputs: + version: + description: 'Release version (e.g. v1.2.3)' + type: string + required: true jobs: deploy: runs-on: ubuntu-latest - name: Deploy to Cloudflare Pages + name: Deploy Status Page to Cloudflare Pages steps: - name: Create status files diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 95c7340f..10a024c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -246,7 +246,7 @@ jobs: # Deploy docs after a successful release deploy-docs: needs: [create-release] - if: needs.create-release.result == 'success' + if: always() && needs.create-release.result == 'success' permissions: contents: read pages: write @@ -257,7 +257,7 @@ jobs: # Deploy Cloudflare status page after a successful release deploy-status: needs: [validate, create-release] - if: needs.create-release.result == 'success' + if: always() && needs.create-release.result == 'success' uses: ./.github/workflows/cloudflare-pages-status.yml with: version: ${{ needs.validate.outputs.release_version }}