-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hi team,
The openelb website is hosted on GitHub Pages and we used to update the website using the deploy.sh script. Now it is failed to update it using this script and it has the following error, you can also reproduce it using hugo -f docsy
in your local:
Deploying updates to GitHub...
Start building sites …
hugo v0.100.2-d25cb2943fd94ecf781412aeff9682d5dc62e284+extended windows/amd64 BuildDate=2022-06-08T10:25:57Z VendorInfo=gohugoio
WARN 2022/06/13 18:03:14 The google_news internal template will be removed in a future release. Please remove calls to this template. See https://github.com/gohugoio/hugo/issues/9172 for additional information.
WARN 2022/06/13 18:03:14 .Path when the page is backed by a file is deprecated and will be removed in a future release. We plan to use Path for a canonical source path and you probably want to check the source is a file. To get the current behaviour, you can use a construct similar to the one below:
{{ $path := "" }}
{{ with .File }}
{{ $path = .Path }}
{{ else }}
{{ $path = .Path }}
{{ end }}
Re-run Hugo with the flag --panicOnWarning to get a better error message.
WARN 2022/06/13 18:03:14 The google_news internal template will be removed in a future release. Please remove calls to this template. See https://github.com/gohugoio/hugo/issues/9172 for additional information.
Error: Error building site: POSTCSS: failed to transform "scss/main.css" (text/css). Check your PostCSS installation; install with "npm install postcss-cli". See https://gohugo.io/hugo-pipes/postcss/: this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more information
Total in 1024 ms
BTW, this method is not recommended for future maintenance. As we have leveraged Vercel for web hosting and PR preview, for the next step, we can use Vercel to automate this process and host the website on openelb.io.
Metadata
Metadata
Assignees
Labels
No labels