HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.1k stars 2.89k forks source link

Problem with deployment on GitHub Pages (Node.js 16) #3085

Closed NAIST-ICB closed 4 months ago

NAIST-ICB commented 5 months ago

Preliminary Checks

Description

Hi, I'm trying to deploy my website on GitHub pages, following the instructions on this page. However, I'm getting the following error, which is leading to deployment failure. Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: peaceiris/actions-hugo@v2, actions/cache@v3, actions/configure-pages@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Reproduction Link

https://github.com/NAIST-ICB/icblab

Steps to Reproduce

  1. Pushing the template code (I'm using the Research Group) to GitHub repository
  2. Run the deployment action as indicated in this tutorial.

Expected Result

I'm expecting a successful deployment, as shown at the tutorial.

Actual Result

Getting failure under the deployment Actions list with the log Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: peaceiris/actions-hugo@v2, actions/cache@v3, actions/configure-pages@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

What Hugo Module versions does your site use?

hugo v0.124.1-db083b05f16c945fec04f745f0ca8640560cf1ec+extended windows/amd64 BuildDate=2024-03-20T11:40:10Z VendorInfo=gohugoio

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Chrome

Which Hugo Blox template are you using?

Research Group

What version of Hugo are you using?

Hugo Extended v0.124.1

WebDucer commented 5 months ago

@NAIST-ICB Use peaceiris/actions-hugo@v3 (v3 instead of v2). The current version is already updated to use Node 20.

The core issue is another (see the log of failed action)

ERROR Couldn't find `sliderfigures/slide1.jpg` in the `assets/media/` folder - please add it.
ERROR Couldn't find `sliderfigures/slide3.jpg` in the `assets/media/` folder - please add it.