Fix PR preview builds: add missing trailing newlines to deploy-alert-terraform-lj website.yaml files - #453
Merged
Conversation
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.
Eve832
requested review from
Jayclifford345,
chri2547,
moxious,
tacole02 and
tomglenn
as code owners
July 17, 2026 18:03
moxious
approved these changes
Jul 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Five
website.yamlfiles underdeploy-alert-terraform-lj/are missing a trailing newline. The deploy-preview build script generates front matter bycat-ingwebsite.yamlfollowed byecho-ed keys, so the missing newline merges the last YAML line with the next key (description: ...fires.type: docs), and Hugo fails withmapping 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