Skip to content

Build and deploy the Hugo site from an in-repo workflow - #17

Merged
shenanigansd merged 2 commits into
mainfrom
in-repo-workflows
Nov 21, 2026
Merged

shenanigansd merged 2 commits into
mainfrom
in-repo-workflows

Conversation

@shenanigansd

Copy link
Copy Markdown
Member

Before: the site's build and Pages deploy called a darbiadev reusable workflow, which no longer exists, so docs.letsbuilda.dev could not be rebuilt.

After: the Hugo build runs on every push and pull request, and main deploys to GitHub Pages, from a workflow in this repo.

How: replace hugo-deploy.yaml with docs.yaml. It checks out the PaperMod submodule, installs Hugo from snap (no third-party setup action), runs hugo --gc --minify and deploys public/ with the first-party Pages actions. Hugo is unpinned, so this PR's build shows whether the site still builds on the current release.


Generated by Claude Code

The darbiadev reusable workflow this repo called no longer exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pinned 2022 theme calls site.Social, which current Hugo no longer
has, so the build failed once the workflow installed today's Hugo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shenanigansd
shenanigansd merged commit df216ee into main Nov 21, 2026
4 checks passed
@shenanigansd
shenanigansd deleted the in-repo-workflows branch November 21, 2026 15:17
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.

2 participants