Skip to content

[Improvement] Stop tracking the mkdocs build output (site/) - #9

Draft
aaronsmulktis wants to merge 2 commits into
mainfrom
aaronsmulktis/untrack-site
Draft

aaronsmulktis wants to merge 2 commits into
mainfrom
aaronsmulktis/untrack-site

Conversation

@aaronsmulktis

Copy link
Copy Markdown
Owner

Why?

The Pages workflow (.github/workflows/static.yml) runs mkdocs build on every push to main and deploys that output, so the committed site/ (last rebuilt 2026-10-10) was never served. It only went stale and dirtied the diff of every local mkdocs build.

Changes

  1. site/ untracked (132 files) and gitignored
  2. Workflow comment on the Pages upload says what it uploads (the fresh build), not "entire repository"

Testing

  1. mkdocs build --strict passes and leaves git status clean
  2. After merge: the next Pages deploy on main should look identical, since it never read the committed copy

…ges builds it fresh

static.yml runs mkdocs build on every push to main and deploys that output, so the committed site/ (last rebuilt 2026-10-10) was never served. It only went stale and dirtied the diff of any local build.

This branch has not been deployed

No deployments
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