update GHA#375
Conversation
|
Thank you for bringing in the latest versions, @ElsLommelen !
The GHA artifact is there, and works fine. I could test the build, and the tutorials site looks good. Or did you mean that the build process still uses the dated GHA? Anyways, the changes are moderate, and easy to roll back in case the GHA fails after merge. PS: Note that there is also a long-standing need to update Hugo as well (#359). The software currently ships at version 0.161 and we have deprecation warnings pre-0.128. |
I just wasn't sure if the artifact would build in case no content was added to the PR, but indeed, it builds.
Unfortunately this doesn't look like a 5 minute job, as I have no experience in this. As promised, I will look at it later this year. |
|
Yes, understood, #359 can be handled separately. I just wasn't sure whether the step to the latest Hugo now happens with switch to newer GHA upstream procedures; the deprecated keywords and settings might break the build procedure upon merge. Maybe better wait a bit with merging to main; I will double check the hugo update later this week and might solve is with a sub-PR on this PR. Building locally is easy for me, I will try to match the GHA version, and I think I have seen the same deprecations on other Hugo websites and can solve them. |
Description
To solve the warning that Node.js 20 actions are deprecated and should be updated to Node.js 24 before june 2, this PR updates the GHA in this repo. Additional to the required fix, third party actions were updated according to the IT guidelines.
Task list
This is a technical issue and not a new tutorial, so none of the listed tasks apply. I therefore removed the task list, please let me know if there are any requirements in this case.
Previewing the pull request
I'm afraid this preview won't work for this PR, please give any advice on how I can test this.
(I left the below text in, just in case it could be useful.)
Thanks to GitHub Actions, an artifact (=zip file) of the rendered website is automatically created for each pull request.
This provides a way to preview how these updates will look on the website, useful to contributors and reviewers.
Instructions to preview the updated website
Downloads/tutorials_preview.httpsites on your local machine. One such option is theservrpackage in R:& '\C:\Program Files\R\R-4.4.2\bin\Rscript.exe' -e "servr::httd('./tutorials_preview')" -p8887(make sure to adjust the path to yourRscript.exe; on Linux, simply useRscript -e [...]).Note: for step 3, you can use any other simple HTTP server to serve the current directory, e.g. Python
http.server:python -m http.server 8887 --bind localhost --directory path/to/tutorials_previewAlternative: Locally Building the Site
Alternatively, you can build the entire site locally (see the README for instructions); the Hugo preview server will update changes on the fly.
This requires Hugo to be installed on your computer.