Cloudflare Pages /opt/build/bin/build: line 39: zola: command not found

While deploying a test Zola site to Cloudflare Pages I recieved the following error in the build logs:

/opt/build/bin/build: line 39: zola: command not found

The error is because in order to use Zola with Cloudflare Pages you need to specify the version of Zola that you are using in a Production Environment Variable like so:

ZOLA_VERSION: 0.13.0

For more info see [how to deploy a Zola site with Cloudflare Pages] (https://developers.cloudflare.com/pages/how-to/deploy-a-zola-site)

comments powered by Disqus