Skip to content

Commit 3e01cb8

Browse files
rubenvdlindeConduction Release Bot
andauthored
ci(docs): publish from development, and retire the old hostname (#392)
Two independent faults, either of which alone stops the docs site updating. TRIGGER. This listened on a branch called `documentation`. Nobody has pushed to one since 2026-05-25, so every docs change merged to `development` passed review and published nothing. SECRETS. A reusable workflow receives no secrets by default. With none mapped, the callee's publish step finds CF_API_TOKEN empty and skips itself on its own guard, and the run finishes GREEN having changed nothing. Fixing only the trigger would have produced exactly that. The worker name is now pinned. Deriving it is the documented way to get a green run that reaches nobody: wrangler creates the derived worker and publishes there while the custom domains keep routing to the real one. Where the app was renamed, `canonical-host` turns the retired hostname from a second live copy of every page into a 301 to the same path on the current one. Co-authored-by: Conduction Release Bot <release-bot@conduction.nl>
1 parent b98ab1c commit 3e01cb8

1 file changed

Lines changed: 24 additions & 2 deletions

File tree

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,35 @@
11
name: Documentation
22

3+
# Publishes the docs site to the Cloudflare Worker that serves it.
4+
#
5+
# TRIGGERS ON `development`, NOT ON A `documentation` BRANCH. This file used to
6+
# listen on a branch called `documentation`; nobody has pushed to one since
7+
# 2026-05-25, so the site simply stopped being rebuilt while every docs change
8+
# merged to development satisfied its review and published nothing.
39
on:
410
push:
5-
branches: [documentation]
11+
branches: [development]
612
pull_request:
7-
branches: [documentation]
13+
branches: [development]
814

915
jobs:
1016
deploy:
1117
uses: ConductionNL/.github/.github/workflows/documentation.yml@main
18+
# A reusable workflow receives NO secrets by default. Without this block the
19+
# callee's publish step finds CF_API_TOKEN empty, skips itself on its own
20+
# `if:` guard, and the run finishes GREEN having changed nothing -- the
21+
# failure that left the fleet's docs sites on May builds. The names are the
22+
# same on both sides; the org secrets really are CF_API_TOKEN/CF_ACCOUNT_ID.
23+
secrets:
24+
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
25+
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
1226
with:
1327
cname: launchpad.conduction.nl
28+
# EVERY host this worker answers on, in FULL: wrangler reconciles the
29+
# worker's triggers against this list, so a host left out is REMOVED and
30+
# goes dark.
31+
docs-hosts: launchpad.conduction.nl
32+
# PINNED. Deriving the name is how a deploy goes green and reaches
33+
# nobody: wrangler creates the derived worker and publishes there while
34+
# the custom domains keep routing to the real one.
35+
worker-name: launchpad-docs

0 commit comments

Comments
 (0)