fix: pass commit hash to Hugo so website-verify.sh finds x-version #362

Merged
guettlibot merged 1 commits from refs/pull/362/head into main 2026-06-03 14:43:27 +00:00
1 Commits
Author SHA1 Message Date
Thomas SharedInboxandClaude Sonnet 4.6 6b70ff2be5 fix: pass commit hash to Hugo so website-verify.sh can find x-version
The BuildWebsite / PublishWebsite Dagger functions did not set
HUGO_PARAMS_GITVERSION, so the <meta name="x-version"> tag was never
rendered in the deployed HTML.  website-verify.sh checks for that tag
and always timed out / failed.

Add an optional commitHash parameter to both functions and wire it
through as HUGO_PARAMS_GITVERSION (the env-var pattern Hugo uses to
inject params from the environment).  Update task publish-website to
compute and pass the short git hash, matching how deploy-linux already
handles this.

Closes #360

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-03 16:01:15 +02:00