ci: Micro-Version im Footer aus der Run-Nummer setzen

Beim Site-Build ersetzt der Workflow ">Werkbaum 1.0</a>" durch
">Werkbaum 1.0.${{ github.run_number }}</a>" (per sed, nur auf der
Site-Kopie). Die Micro-Version steigt so bei jedem Deployment monoton
um 1 — ohne Commit/Tag zurueck ins Repo und ohne selbstausloesenden
Deploy-Zyklus. run_number via env BUILD_VERSION injiziert. "1.0" bleibt
die manuell gepflegte Basis und die Version beim lokalen Oeffnen; die
viewport-/xml-"1.0" bleiben unberuehrt (Anker >...</a> als Ziel).

Doku: README (EN+DE) Deployment-Abschnitt und DECISIONS D16 ergaenzt.
Keine SPEC-Aenderung (Notation unberuehrt).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
mhoennig
2026-07-21 13:43:45 +02:00
co-authored by Claude Opus 4.8
parent 7c39da7b44
commit aa16665853
4 changed files with 25 additions and 0 deletions
+5
View File
@@ -62,6 +62,11 @@ The workflow assembles a site folder: `frontend/index.html` is placed as
`../` paths in the editor source are straightened only on the copy — the source
file stays unchanged. `backend/` and the remaining `docs/` are not published.
While assembling the site, the workflow also stamps the **micro version** into
the footer from the workflow run number: `Werkbaum 1.0` becomes
`Werkbaum 1.0.<run-number>`, incrementing by one on every deployment — with no
commit back to the repo. Opened locally, the editor still shows `Werkbaum 1.0`.
**One-time setup:** In the repo settings under **Pages**, select **Source** =
"GitHub Actions". The repo must be **public** for this (GitHub Pages via Actions
is only available for private repos on a paid plan).