Skip to content

Reduce GitHub Pages deploy artifact noise by removing tracked Sphinx build outputs#5

Draft
kkuramitsu with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-deploy-job-failure
Draft

Reduce GitHub Pages deploy artifact noise by removing tracked Sphinx build outputs#5
kkuramitsu with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-deploy-job-failure

Conversation

Copilot AI commented Jul 6, 2026

Copy link
Copy Markdown

The pages build and deployment workflow was failing in the deploy job during Pages syncing_files. This change trims non-site build artifacts from the published tree so the Pages artifact contains only content intended for deployment.

  • Remove tracked Sphinx build artifacts

    • Delete committed .doctrees/ contents, .buildinfo, objects.inv, and Python bytecode under _static/__pycache__/.
    • Remove binary/intermediate files that do not belong in a GitHub Pages artifact.
  • Prevent reintroducing deploy noise

    • Extend .gitignore to exclude Sphinx/Python build outputs going forward:
      • *.pyc
      • __pycache__/
      • .buildinfo
      • .doctrees/
  • Effect on Pages deployment

    • Reduces unnecessary files in the uploaded Pages artifact.
    • Avoids publishing Python/Sphinx internals as static site content.
*.pyc
__pycache__/
.buildinfo
.doctrees/

Copilot AI changed the title [WIP] Fix failing GitHub Actions job deploy Reduce GitHub Pages deploy artifact noise by removing tracked Sphinx build outputs Jul 6, 2026
Copilot AI requested a review from kkuramitsu July 6, 2026 09:01
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