8 Replies
Seems Zola is not a supported framework at this time.
https://developers.cloudflare.com/pages/framework-guides/
You might want to ask for it to be added in the #pages-feature-suggestions channel.
Framework guides · Cloudflare Pages docs
Documentation for Cloudflare Pages, the best way to deploy your static and JAMstack sites
You could also just do the builds locally and then deploy the changes.
you could also do the builds locally and commit the generated files so the Pages/Github integration would auto deploy the new files.
hmmm.... actually i saw it listed in the frameworks
if you search Zola ...
LOL - sorry about that. I overlooked it. 🤦♂️
I'll ask some others to look at this. What's your exact build configuration for the project in the CF dashboard? A screenshot would be great.
No worries ! Thank you for helping!
Zola was only supported in v1 build image via an environment variable (https://developers.cloudflare.com/pages/platform/language-support-and-tools/), and v2 so far there's no official support for it/it's not preinstalled. You can use this workaround here: https://discord.com/channels/595317990191398933/1020053805263507577/1108405869219172422 with the understanding that it may change in the future
ex, change your build command to:
asdf plugin add zola https://github.com/salasrod/asdf-zola && asdf install zola 0.17.2 && asdf global zola 0.17.2 && zola build