Skip to content

Fix PR preview builds: add missing trailing newlines to deploy-alert-terraform-lj website.yaml files - #453

Merged
moxious merged 1 commit into
mainfrom
eve/fix-preview-website-yaml-newlines
Jul 17, 2026
Merged

Fix PR preview builds: add missing trailing newlines to deploy-alert-terraform-lj website.yaml files#453
moxious merged 1 commit into
mainfrom
eve/fix-preview-website-yaml-newlines

Conversation

@Eve832

@Eve832 Eve832 commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Five website.yaml files under deploy-alert-terraform-lj/ are missing a trailing newline. The deploy-preview build script generates front matter by cat-ing website.yaml followed by echo-ed keys, so the missing newline merges the last YAML line with the next key (description: ...fires.type: docs), and Hugo fails with mapping values are not allowed in this context. This breaks the PR preview build for every branch containing these files (for example, the previews on #452 and the find-k6-limits branch failed with this exact error today).

This change appends the missing newlines so preview builds pass again.

Made with Cursor

The deploy-preview build script concatenates website.yaml with echoed
front matter keys. Without a trailing newline, the last YAML line merges
with the next key ("description: ...fires.type: docs"), which Hugo
rejects as invalid front matter and fails every PR preview build.
@moxious
moxious merged commit 1033d9a into main Jul 17, 2026
16 checks passed
@moxious
moxious deleted the eve/fix-preview-website-yaml-newlines branch July 17, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants