Skip to content

Fix the docs workflow's Jekyll output permissions - #34

Merged
xcomart merged 1 commit into
masterfrom
fix/docs-workflow
Aug 3, 2026
Merged

Fix the docs workflow's Jekyll output permissions#34
xcomart merged 1 commit into
masterfrom
fix/docs-workflow

Conversation

@xcomart

@xcomart xcomart commented Aug 3, 2026

Copy link
Copy Markdown
Owner

The first Docs run after #33 failed:

mkdir: cannot create directory ‘_site/api’: Permission denied

actions/jekyll-build-pages runs in a container as root, so _site comes back owned by root and the step that drops the API reference into it cannot write there. The step now takes ownership first.

The workflow also only ran on the default branch, so a site that no longer builds could only be discovered after merging — which is exactly what happened here. It now builds on pull requests too and deploys only when the event is not one, so this PR's own Docs run validates the fix.

Folded into the v0.6.4 release.

🤖 Generated with Claude Code

actions/jekyll-build-pages runs in a container as root, so _site comes
back owned by root and the step that drops the API reference into it
failed with "Permission denied".

The workflow also only ran on the default branch, which meant a site that
no longer builds could only be discovered after merging. It now builds on
pull requests too, and deploys only when the event is not one.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@xcomart
xcomart merged commit d5ab8a6 into master Aug 3, 2026
5 checks passed
@xcomart
xcomart deleted the fix/docs-workflow branch August 3, 2026 04:23
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