Skip to content

Commit 772dec8

Browse files
max-sixtyclaude
andauthored
ci: publish the web docs once per release (#6168)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent d295ae8 commit 772dec8

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/publish-web.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
name: publish-web
22
on:
3+
# A release ends by pushing its docs to `web` with the bot's PAT, and a push
4+
# made with a PAT does start workflows, so this covers releases too.
35
push:
46
branches:
57
- web
6-
# Even though releases push to `web` branch, that doesn't cause this workflow
7-
# to run, because GHA can't start workflows itself. So we also run on
8-
# releases.
9-
release:
10-
types: [released]
118
# Called by pull-request when specifically requested
129
workflow_call:
1310
workflow_dispatch:

0 commit comments

Comments
 (0)