Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

ci(docs): add nightly journeydoc capture workflow#751

Open
WilcoLouwerse wants to merge 1 commit into
developmentfrom
feature/docs-capture-workflow
Open

ci(docs): add nightly journeydoc capture workflow#751
WilcoLouwerse wants to merge 1 commit into
developmentfrom
feature/docs-capture-workflow

Conversation

@WilcoLouwerse

Copy link
Copy Markdown

Summary

Per hydra#279 stap 14 — nachtelijke screenshot refresh van de tutorial-pagina's onder docs/static/screenshots/tutorials/. Maakt OpenCatalogi de eerste app in de fleet die de gecentraliseerde journeydoc-capture job van ConductionNL/.github#107 gebruikt.

Wat dit doet

Nieuwe workflow .github/workflows/docs-capture.yml:

  • Trigger: cron 27 3 * * * (nachtelijk 03:27 UTC = 04:27 CET / 05:27 CEST) + handmatige workflow_dispatch
  • Roept ConductionNL/.github/.github/workflows/quality.yml@main aan met enable-journeydoc-capture: true en alle andere gates uit
  • additional-apps wired voor OpenRegister (zelfde config als bestaande code-quality.yml) zodat OpenCatalogi's tutorial-flows volledig kunnen renderen
  • journeydoc-deploy-workflow: documentation.yml — triggert de bestaande docs-deploy zodra screenshots wijzigen

Resultaat na merge: PR #559's tutorials + capture spec lopen elke nacht door, gewijzigde screenshots worden gecommit + de docs-site verdere zichzelf.

Hoe werkt het uiteindelijk

[03:27 UTC]
  ↓
quality.yml @ ConductionNL/.github
  ↓  spint NC32 + Postgres + OpenCatalogi + OpenRegister
  ↓  npm run build (PWA bundle)
  ↓  npx playwright test --project docs-capture
  ↓  git diff docs/static/screenshots/tutorials/
  ↓  diff = leeg? → no-op, klaar
  ↓  diff = bestaat? → commit + push naar development + dispatch documentation.yml
                                       ↓
                              docs-site rebuildt

Geen PATs nodig

Conduction post-"github has been hacked" beleid: alleen GITHUB_TOKEN (contents:write + actions:write op job-niveau, gescoped op deze repo).

⚠️ Afhankelijkheid

Deze PR is afhankelijk van ConductionNL/.github#107 — die voegt de enable-journeydoc-capture / journeydoc-output-path / journeydoc-deploy-workflow inputs toe aan de centrale quality.yml. Eerst die mergen, dan deze. Tot de .github-PR merged is, faalt deze workflow met "Unexpected input(s)" als-ie zou triggeren.

Test plan

Follow-up (out of scope)

Na succes op opencatalogi, dezelfde workflow file uitrollen naar de andere 6 apps met journeydoc-scaffold: mydash, openregister, openconnector, doriath, docudesk, pipelinq.

Refs hydra#279, ADR-030.

🤖 Generated with Claude Code

Per hydra#279 stap 14 — nachtelijke screenshot refresh van de tutorial
pagina's onder docs/static/screenshots/tutorials/. Uses the new
journeydoc-capture job in the centralized quality workflow
(ConductionNL/.github#107).

### Wat dit doet

Nieuwe workflow `.github/workflows/docs-capture.yml`:
- Trigger: schedule cron `27 3 * * *` (nightly 03:27 UTC) + manual
  workflow_dispatch
- Roept `ConductionNL/.github/.github/workflows/quality.yml@main` aan
  met enable-journeydoc-capture: true en alle andere gates uit
- additional-apps wired voor OpenRegister (zelfde als bestaande
  code-quality.yml) zodat OpenCatalogi's tutorial-flows volledig
  kunnen renderen
- journeydoc-deploy-workflow: documentation.yml — triggert de
  bestaande docs-deploy zodra schermafbeeldingen wijzigen

### Geen PATs nodig

Conduction post-"github has been hacked" beleid: alleen GITHUB_TOKEN.

### Afhankelijkheid

⚠️ Deze PR is afhankelijk van [ConductionNL/.github#107](ConductionNL/.github#107) — die voegt de
`enable-journeydoc-capture` / `journeydoc-output-path` /
`journeydoc-deploy-workflow` inputs toe aan de centrale quality.yml.
Tot die merged is, faalt de workflow met "Unexpected input(s)".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant