From 90272a260718db1d04affeca4e0d872b9300be97 Mon Sep 17 00:00:00 2001 From: Vincent Taverna Date: Wed, 10 Jun 2026 07:49:28 +0000 Subject: [PATCH] fix wrangler: account_id unsupported in Pages toml, pass via env Pages wrangler.toml doesn't accept account_id (Workers-only key). Pass CLOUDFLARE_ACCOUNT_ID inline in the Makefile target instead. --- Makefile | 2 +- wrangler.toml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8917e7e..61a662d 100644 --- a/Makefile +++ b/Makefile @@ -147,7 +147,7 @@ ci-dist: ## Assemble dist/ from committed artifacts (no pico8/python3 required) .PHONY: ci-deploy ci-deploy: ci-dist ## Deploy committed artifacts to Cloudflare Pages (CI-safe, no pico8 needed) - npx wrangler pages deploy $(DIST) --project-name picosky --commit-dirty=true + CLOUDFLARE_ACCOUNT_ID=ebbd354a5e5728e183b95c92fbcfb770 npx wrangler pages deploy $(DIST) --project-name picosky --commit-dirty=true # --- setup / housekeeping ---------------------------------------------------- .PHONY: install-pico8 diff --git a/wrangler.toml b/wrangler.toml index 10253b1..be6fbd3 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -1,3 +1,2 @@ name = "picosky" -account_id = "ebbd354a5e5728e183b95c92fbcfb770" pages_build_output_dir = "dist" -- 2.51.2