Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ Upon running `zola init`, you will prompted with three questions:

<PagesBuildPreset framework="zola" />

Below the configuration, make sure to set the **Environment Variables (advanced)** for specifying the `ZOLA_VERSION`.
Zola is preinstalled in the Cloudflare Pages build environment, so no additional configuration is required. You can optionally set the `ZOLA_VERSION` environment variable under **Environment Variables (advanced)** to pin a specific version.

For example, `ZOLA_VERSION`: `0.17.2`.
For example, `ZOLA_VERSION`: `0.19.2`.

After configuring your site, you can begin your first deploy. You should see Cloudflare Pages installing `zola`, your project dependencies, and building your site, before deploying it.
After configuring your site, you can begin your first deploy. You should see Cloudflare Pages building your site with Zola, before deploying it.

:::note

Expand Down
4 changes: 4 additions & 0 deletions src/content/pages-build-environment/v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ tools:
default: "3.6.3"
supported: "Any version"
environment_variable: "YARN_VERSION"
- name: Zola
default: "0.22.1"
supported: "Any version"
environment_variable: "ZOLA_VERSION"
build_environment:
operating_system: "Ubuntu `22.04.2`"
architecture: "x86_64"
4 changes: 4 additions & 0 deletions src/content/pages-build-environment/v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ tools:
default: "4.9.1"
supported: "Any version"
environment_variable: "YARN_VERSION"
- name: Zola
default: "0.22.1"
supported: "Any version"
environment_variable: "ZOLA_VERSION"
build_environment:
operating_system: "Ubuntu `22.04.2`"
architecture: "x86_64"
Loading