From 6ce87e738a6af8b460aeb5e1aaa8c5c0cbd78e34 Mon Sep 17 00:00:00 2001 From: Eve Meelan <81647476+Eve832@users.noreply.github.com> Date: Fri, 17 Jul 2026 14:01:15 -0400 Subject: [PATCH] Fix preview build: add missing trailing newlines to website.yaml files 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. --- deploy-alert-terraform-lj/add-contact-point/website.yaml | 2 +- deploy-alert-terraform-lj/add-notification-policy/website.yaml | 2 +- deploy-alert-terraform-lj/configure-provider/website.yaml | 2 +- deploy-alert-terraform-lj/create-service-account/website.yaml | 2 +- .../define-folder-and-rule-group/website.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deploy-alert-terraform-lj/add-contact-point/website.yaml b/deploy-alert-terraform-lj/add-contact-point/website.yaml index 9d72d4dc..1466a1d2 100644 --- a/deploy-alert-terraform-lj/add-contact-point/website.yaml +++ b/deploy-alert-terraform-lj/add-contact-point/website.yaml @@ -8,4 +8,4 @@ keywords: - alerts - as-code - terraform -description: Learn how to add a contact point to notify to when an alert fires. \ No newline at end of file +description: Learn how to add a contact point to notify to when an alert fires. diff --git a/deploy-alert-terraform-lj/add-notification-policy/website.yaml b/deploy-alert-terraform-lj/add-notification-policy/website.yaml index 149228c3..999ad5b8 100644 --- a/deploy-alert-terraform-lj/add-notification-policy/website.yaml +++ b/deploy-alert-terraform-lj/add-notification-policy/website.yaml @@ -8,4 +8,4 @@ keywords: - alerts - as-code - terraform -description: Learn how to add a notification policy to control how your alerts are routed to contact points. \ No newline at end of file +description: Learn how to add a notification policy to control how your alerts are routed to contact points. diff --git a/deploy-alert-terraform-lj/configure-provider/website.yaml b/deploy-alert-terraform-lj/configure-provider/website.yaml index 54b377a1..cd2c4998 100644 --- a/deploy-alert-terraform-lj/configure-provider/website.yaml +++ b/deploy-alert-terraform-lj/configure-provider/website.yaml @@ -8,4 +8,4 @@ keywords: - alerts - as-code - terraform -description: Learn how to declare your Grafana Terraform provider and connect. \ No newline at end of file +description: Learn how to declare your Grafana Terraform provider and connect. diff --git a/deploy-alert-terraform-lj/create-service-account/website.yaml b/deploy-alert-terraform-lj/create-service-account/website.yaml index a69af7a8..5b8e577f 100644 --- a/deploy-alert-terraform-lj/create-service-account/website.yaml +++ b/deploy-alert-terraform-lj/create-service-account/website.yaml @@ -8,4 +8,4 @@ keywords: - alerts - as-code - terraform -description: Learn how to create a service account token to use as an API credential with Terraform. \ No newline at end of file +description: Learn how to create a service account token to use as an API credential with Terraform. diff --git a/deploy-alert-terraform-lj/define-folder-and-rule-group/website.yaml b/deploy-alert-terraform-lj/define-folder-and-rule-group/website.yaml index a8b28069..19f87476 100644 --- a/deploy-alert-terraform-lj/define-folder-and-rule-group/website.yaml +++ b/deploy-alert-terraform-lj/define-folder-and-rule-group/website.yaml @@ -8,4 +8,4 @@ keywords: - alerts - as-code - terraform -description: Learn how to create a folder to organize your alert rules, and an alert group. \ No newline at end of file +description: Learn how to create a folder to organize your alert rules, and an alert group.