Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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

Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/publish-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/myst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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).
#
Expand Down