Skip to content

feat: port issue templates to GitHub Issue Forms (#880) #57

feat: port issue templates to GitHub Issue Forms (#880)

feat: port issue templates to GitHub Issue Forms (#880) #57

Workflow file for this run

name: Documentation
on:
push:
branches: [development]
pull_request:
branches: [development]
jobs:
deploy:
# Reusable workflow defaults the source folder to `docs/` — the
# Docusaurus site now lives there (journeydoc / ADR-030).
uses: ConductionNL/.github/.github/workflows/documentation.yml@main
# A reusable workflow receives NO secrets by default. Without this block
# `secrets.CF_API_TOKEN` is empty inside the callee, its "Publish to the
# Cloudflare Worker" step skips itself on its own guard, and the run
# finishes GREEN having written only gh-pages — which nothing serves. The
# live site never changes and no check goes red to say so.
#
# Mapped explicitly rather than `secrets: inherit`, because `inherit`
# hands the callee EVERY secret this repo holds — signing cert and key,
# appstore token, deploy keys — for the sake of two Cloudflare values.
# This way only those two cross the boundary.
#
# The names also differ on each side (org `CLOUDFLARE_*`, callee `CF_*`),
# and `inherit` passes secrets under their ORIGINAL names — so it would
# have left `CF_API_TOKEN` empty even setting the exposure aside. Needs
# ConductionNL/.github#568: a mapping only compiles for secrets the callee
# declares.
secrets:
CF_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CF_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
with:
cname: decidiq.conduction.nl
# EVERY host this site answers on, in FULL: wrangler reconciles the
# worker's triggers against this list, so a host omitted here is
# REMOVED from the worker and goes dark. Both were attached as custom
# domains on 2026-08-23 and both serve 200.
docs-hosts: decidesk.conduction.nl,decidiq.conduction.nl
# The worker that ALREADY holds both custom domains. Without this the
# callee derives the name from `cname` — `decidiq-docs` — which does not
# exist. Deploying that would create a SECOND worker while both custom
# domains keep routing to `decidesk-docs`: every deploy green, reaching
# nobody. Renaming the worker is a Cloudflare-side move, not something
# this file can perform.
worker-name: decidesk-docs