Skip to content

Commit 49e28b4

Browse files
committed
build: restore Cloudflare Hugo pin
1 parent 5dac71b commit 49e28b4

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,10 @@ make check
2828
The production target is `https://farrow.pgsty.com/` and its build is warning-
2929
strict. Pages settings and DNS must authorize that domain before publication.
3030

31-
The source-controlled `wrangler.toml` defines the Pages project and direct-
32-
upload output directory. It does not configure the Git build image: set
33-
`HUGO_VERSION=0.165.0` in Cloudflare Pages **Settings → Environment variables**
34-
for both Production and Preview. Wrangler `[vars]` are Pages Functions runtime
35-
bindings, not build-time variables. Cloudflare's default Hugo can be older than
36-
the minimum required by Oink; `HUGO_SERVER` is not a recognized version selector.
31+
The source-controlled `wrangler.toml` defines the Pages project, output
32+
directory, and `HUGO_VERSION=0.165.0` for both Production and Preview. Keep this
33+
pin: Cloudflare's default Hugo can be older than the minimum required by Oink;
34+
`HUGO_SERVER` is not a recognized version selector.
3735

3836
## Content policy
3937

wrangler.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
name = "farrow-pgsty-com"
22
pages_build_output_dir = "./public"
33
compatibility_date = "2026-08-28"
4+
5+
[vars]
6+
HUGO_VERSION = "0.165.0"
7+
8+
[env.preview.vars]
9+
HUGO_VERSION = "0.165.0"

0 commit comments

Comments
 (0)