From a46803e034a3bc87139016017b8fbc40c7a7ef44 Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Tue, 8 Jul 2025 02:25:33 -0700 Subject: [PATCH] eto.... bleh --- tf/dork-pages.tf | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tf/dork-pages.tf b/tf/dork-pages.tf index eaaba1f2..74bb23b6 100644 --- a/tf/dork-pages.tf +++ b/tf/dork-pages.tf @@ -1,7 +1,7 @@ resource "cloudflare_pages_project" "dorkdev" { account_id = local.account_id name = "dorkdev" - production_branch = "site" + production_branch = "main" source { type = "github" @@ -20,6 +20,14 @@ resource "cloudflare_pages_project" "dorkdev" { destination_dir = "public" #root_dir = "/" } + deployment_configs { + production { + environment_variables = { + UNSTABLE_PRE_BUILD = "asdf plugin add zola https://github.com/salasrod/asdf-zola && asdf install zola 0.20.0 && asdf global zola 0.20.0" + ZOLA_VERSION = "0.20.0" + } + } + } lifecycle { ignore_changes = [ deployment_configs,