Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update github page build action as action@v3 is deprecated #286

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

riadhassan
Copy link

The existing upload-pages-artifact@v2 and deploy-pages@v2 is deprecated on 30th January 2025. So the action is updated with upload-pages-artifact@v3 and deploy-pages@v4. Now it builds properly.

@Benny0323
Copy link

Benny0323 commented Feb 8, 2025

### Why I still met problems. Here are my build errors:
RROR the "date" front matter field is not a parsable date: see /home/runner/work/bio/bio/content/_index.md
ERROR deprecated: .Site.GoogleAnalytics was deprecated in Hugo v0.120.0 and will be removed in Hugo 0.137.0. Use .Site.Config.Services.GoogleAnalytics.ID instead.
ERROR render of "home" failed: "/tmp/hugo_cache_runner/modules/filecache/modules/pkg/mod/github.com/!hugo!blox/hugo-blox-builder/modules/blox-bootstrap/v5@v5.9.6/layouts/_default/baseof.html:11:403": execute of template failed: template: index.html:11:403: executing "index.html" at <.File.UniqueID>: can't evaluate field File in type source.File
ERROR render of "page" failed: "/tmp/hugo_cache_runner/modules/filecache/modules/pkg/mod/github.com/!hugo!blox/hugo-blox-builder/modules/blox-bootstrap/v5@v5.9.6/layouts/_default/baseof.html:11:403": execute of template failed: template: publication/single.html:11:403: executing "publication/single.html" at <.File.UniqueID>: can't evaluate field File in typesource.File
Total in 1469 ms
Error: error building site: render: failed to render pages: render of "section" failed: "/tmp/hugo_cache_runner/modules/filecache/modules/pkg/mod/github.com/!hugo!blox/hugo-blox-builder/modules/blox-bootstrap/v5@v5.9.6/layouts/_default/baseof.html:11:403": execute of template failed: template: section/publication.html:11:403: executing "section/publication.html" at <.File.UniqueID>: can't evaluate field File in type *source.File
Error: Process completed with exit code 1.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants