Skip to content

Commit 86246b9

Browse files
Publish screenshots after manual capture runs (#1545)
1 parent 2dbad41 commit 86246b9

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/docs-screenshots.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,11 @@ jobs:
148148
with:
149149
name: docs-screenshots-${{ steps.vars.outputs.release_key }}
150150
path: ${{ steps.artifact.outputs.artifact_root }}
151+
152+
publish-manual:
153+
if: ${{ github.event_name == 'workflow_dispatch' }}
154+
needs: capture
155+
uses: ./.github/workflows/publish-docs-screenshots.yml
156+
with:
157+
source_run_id: ${{ github.run_id }}
158+
secrets: inherit

docs/screenshots/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ make docs-screenshots RELEASE=v0.5.53
2727
Release automation note:
2828

2929
- `.github/workflows/docs-screenshots-after-release.yml` is the release-triggered orchestrator. It waits for the released GHCR image to exist, then calls the capture and publish workflows below.
30-
- `.github/workflows/docs-screenshots.yml` captures screenshots from the requested release ref and uploads both `releases/<version>/` and `releases/latest/` in an artifact without using the website PAT.
30+
- `.github/workflows/docs-screenshots.yml` captures screenshots from the requested release ref and uploads both `releases/<version>/` and `releases/latest/` in an artifact. Manual `workflow_dispatch` runs now also call the publish workflow automatically so a single manual run both captures and saves the results.
3131
- Manual `Docs Screenshots` runs now treat `release_key` as the checkout ref when `release_ref` is omitted, so backfills follow the requested release tag instead of `main`.
3232
- `.github/workflows/publish-docs-screenshots.yml` is the only workflow that uses `HUSHLINE_WEBSITE_SCREENSHOTS_PAT` and syncs the latest screenshots plus the `releases/latest/` and `releases/<version>/` archives into `scidsg/hushline-website`.

0 commit comments

Comments
 (0)