Skip to content

Add GitHub Actions workflow for compiling the site#148

Open
tstolarski wants to merge 2 commits into
RSE-Sheffield:masterfrom
tstolarski:devops/github-actions
Open

Add GitHub Actions workflow for compiling the site#148
tstolarski wants to merge 2 commits into
RSE-Sheffield:masterfrom
tstolarski:devops/github-actions

Conversation

@tstolarski

Copy link
Copy Markdown

Rationale

The current latest version of Hugo (v0.160.1) cannot build the site as it is currently due to incompatibilities introduced with new version updates (such as .Site.IsMultiLingual being deprecated and changed to hugo.isMultilingual).

In addition, the underlying theme used by the site, hugo-theme-learn, is deprecated and unmaintained (as written in their README). This means updating the site to function with the new Hugo would require a theme change, since incompatible code lives within the dependency as well.

I plan to address this by updating various things in a separate PR, but in order to ensure the changes don't break the functionality or vastly change the design of the site, I needed a way to obtain a local build of the site on its old version for comparison, and I figured that the best way to go about this would be to add a GitHub Actions workflow. This way, other people can also download the build, and in the version-upgrading PR I can update the workflow to use the new version as well.

You can see the run produced by this workflow here, and the built version of the site is available as the hugo-public artifact on that page.

@netlify

netlify Bot commented Apr 27, 2026

Copy link
Copy Markdown

Deploy Preview for peppy-otter-7a55ad ready!

Name Link
🔨 Latest commit d220eb2
🔍 Latest deploy log https://app.netlify.com/projects/peppy-otter-7a55ad/deploys/69ef50e672ad2b000822137b
😎 Deploy Preview https://deploy-preview-148--peppy-otter-7a55ad.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant