Skip to content

Fix GitHub Actions workflow error#2

Merged
mjboos merged 3 commits into
masterfrom
claude/fix-gha-error-011CUmRYY2LmqvZMvz9GtdzH
Nov 3, 2025
Merged

Fix GitHub Actions workflow error#2
mjboos merged 3 commits into
masterfrom
claude/fix-gha-error-011CUmRYY2LmqvZMvz9GtdzH

Conversation

@mjboos

@mjboos mjboos commented Nov 3, 2025

Copy link
Copy Markdown
Owner

Sphinx was attempting to read files from the .venv virtual environment directory, causing the build to fail or include unwanted files.

Changes:

  • Add .venv, venv, and env to exclude_patterns in conf.py
  • Add .venv/ to .gitignore to prevent committing virtual environment

Sphinx was attempting to read files from the .venv virtual environment
directory, causing the build to fail or include unwanted files.

Changes:
- Add .venv, venv, and env to exclude_patterns in conf.py
- Add .venv/ to .gitignore to prevent committing virtual environment
This allows testing the build in GitHub Actions before merging:
- Build job runs on both PRs and pushes to main/master
- Deploy job only runs on pushes to main/master (not on PRs)

This way you can verify the build passes in PR checks without
actually deploying to GitHub Pages.
Fix GHA error: actions/upload-pages-artifact@v2 is deprecated
because it uses the deprecated v3 of upload-artifact internally.

Updated to v3 which uses the current artifact actions.
@mjboos mjboos merged commit ee47ad9 into master Nov 3, 2025
2 checks passed
@mjboos mjboos deleted the claude/fix-gha-error-011CUmRYY2LmqvZMvz9GtdzH branch November 3, 2025 18:34
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