thegeeklab / hugo-geekdoc

Hugo theme made for documentation

Home Page:https://geekdocs.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cloudflare Pages deployment with Hugo version 0.54.0 failed to unmarshal

rngnum opened this issue · comments

commented

Unfortunately Cloudflare pages use outdated Hugo version, hugo-geekdoc plugin fails to deploy:

Installing Hugo 0.54.0
Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
Started restoring cached go cache
Finished restoring cached go cache
go version go1.14.4 linux/amd64
Installing missing commands
Verify run directory
Executing user command: hugo
Error: "/opt/buildhome/repo/themes/hugo-geekdoc/i18n/en.yaml:2:1": failed to load translations: failed to unmarshal en.yaml: yaml: unmarshal errors:
line 2: cannot unmarshal !!map into []map[string]interface {}
Failed: build command exited with code: 255

Well then you can not use this theme on Cloudflare pages as we dont support this hugo version anymore.

commented

Thank you @xoxys, somehow missed that part in Cloudflare documentation. Setting higher Hugo version resolved issue.