Update github page build action as action@v3 is deprecated
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.
### 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/[email protected]/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/[email protected]/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/[email protected]/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.