CF Pages failing to build. #497
-
Describe the bug
To Reproduce
Expected behavior Desktop (please complete the following information):
Hugo & Blowfish versions
Additional context
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
Okay, I didn't notice CF was trying to build a prehistoric version of Hugo for some reason. After manually specifying the latest version I'm getting this now:
|
Beta Was this translation helpful? Give feedback.
-
I am sorry @monstermuffin this is not a bug on Blowfish. I am converting this into a discussion. |
Beta Was this translation helpful? Give feedback.
-
I personally never worked with CloudFlare hope someone else can help. You can look at the workflows for Blowfish in GitHub and see if something is translatable to the CF world. At this stage, there is nothing else I can do. Are you able to run it locally? |
Beta Was this translation helpful? Give feedback.
-
Deploy background assets into assets/img. |
Beta Was this translation helpful? Give feedback.
-
This is something Cloudflare has been working on according to this thread. Apparently the current build image for Pages is very out of date...hopefully they'll update soon! In the meantime, I've had success deploying Blowfish projects via direct upload, and I've seen people talking about having success using Github Actions to tie into CF Pages, but I haven't personally given that a shot yet. |
Beta Was this translation helpful? Give feedback.
-
Even I was facing the same issue. It seems like Cloudflare is using a prehistoric version of Hugo to run the build. I solved this issue just by explicitly specifying the Hugo version as an environment variable. Check this doc. Check which version of Hugo you're using locally and enter that as a value for the environment variable. This works! |
Beta Was this translation helpful? Give feedback.
Deploy background assets into assets/img.