diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3d70c1..6757e55 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: # --- Docs build (every event; never publishes) ------------------------------ docs: - uses: DiamondLightSource/myst-version-switcher-plugin/.github/workflows/docs.yml@v0.18.0 + uses: DiamondLightSource/myst-version-switcher-plugin/.github/workflows/docs.yml@v0.22.0 with: # `make docs` reads build settings (incl. MYSTMD_VERSION) from CONFIG; docs.yml # sets BASE_URL and packs/uploads the docs.zip artifact. @@ -51,7 +51,7 @@ jobs: release: needs: [lint, test, docs] if: github.ref_type == 'tag' - uses: DiamondLightSource/myst-version-switcher-plugin/.github/workflows/release.yml@v0.18.0 + uses: DiamondLightSource/myst-version-switcher-plugin/.github/workflows/release.yml@v0.22.0 permissions: contents: write # create the GitHub Release + attach assets diff --git a/.github/workflows/publish-dispatch.yml b/.github/workflows/publish-dispatch.yml index a0374cc..af85115 100644 --- a/.github/workflows/publish-dispatch.yml +++ b/.github/workflows/publish-dispatch.yml @@ -23,14 +23,21 @@ on: description: External fork PR number to approve (pins its head SHA) and preview. Leave empty to just re-deploy. required: false default: "" + retry-until: + description: >- + Internal — epoch-seconds deadline for auto-retrying a wedged Pages origin. + Don't set manually. + required: false + default: "" jobs: publish: - uses: DiamondLightSource/myst-version-switcher-plugin/.github/workflows/publish.yml@v0.18.0 + uses: DiamondLightSource/myst-version-switcher-plugin/.github/workflows/publish.yml@v0.22.0 with: version-name: ${{ inputs.version-name }} # "" on dispatch → pure durable gather pr: ${{ inputs.pr }} # set (dispatch only) → pin that fork head SHA dispatch-workflow: publish-dispatch.yml # the file the tag re-dispatch re-fires + retry-until: ${{ inputs.retry-until }} # "" on workflow_call/no-retry dispatch → no auto-retry permissions: contents: read actions: write # publish.yml's re-dispatch job re-fires this shim via gh diff --git a/docs/myst.yml b/docs/myst.yml index d6c2b8c..828c3d0 100644 --- a/docs/myst.yml +++ b/docs/myst.yml @@ -3,7 +3,7 @@ project: title: PandABlocks-server github: https://github.com/PandABlocks/PandABlocks-server plugins: - - https://github.com/DiamondLightSource/myst-version-switcher-plugin/releases/download/v0.18.0/version-switcher.mjs + - https://github.com/DiamondLightSource/myst-version-switcher-plugin/releases/download/v0.22.0/version-switcher.mjs # Cross-repository references (mystmd xref + Sphinx intersphinx). # PROTOTYPE for upstreaming into the DLS python-copier-template (Stage A spec §6). #