Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Switch to custom method #126

Merged
merged 2 commits into from
Dec 19, 2024
Merged

Conversation

ns-rse
Copy link
Contributor

@ns-rse ns-rse commented Dec 19, 2024

Forgot you need tokens to do these deployments so got a permission denied.

Found Deploying MkDocs to GitHub Pages with GitHub Actions - Thomas Thornton Azure
Blog
which should work.

Couple of tweaks...

  • Update actions/upload-artifact@v4
  • Changed the target configuration file to mkdocs.yml
  • Changed installation of packages to pip install .[docs]
  • Modified paths to docs/**
  • Python version to 3.12

🤞

Forgot you need tokens to do these deployments so got a permission denied.

Found [Deploying MkDocs to GitHub Pages with GitHub Actions - Thomas Thornton Azure
Blog](https://thomasthornton.cloud/2024/05/01/deploying-mkdocs-to-github-pages-with-github-actions/) which should work.

Couple of tweaks...

- Update `actions/upload-artifact@v4`
- Changed the target configuration file to `mkdocs.yml`
- Changed installation of packages to `pip install .[docs]`
- Modified `paths` to `docs/**`
- Python version to `3.12`

:crossed_fingers:
@ns-rse ns-rse added documentation Improvements or additions to documentation ci Continuous Integration labels Dec 19, 2024
@ns-rse ns-rse merged commit 3e6c873 into main Dec 19, 2024
7 checks passed
@ns-rse ns-rse deleted the ns-rse/mkdoc-deploy-install-dependencies branch December 19, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous Integration documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant