Skip to content

Commit

Permalink
set read permissions and clean after uploading docs artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
pattonw committed Mar 10, 2025
1 parent 80de93f commit a967877
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@ jobs:
uv run --extra docs jupytext --to notebook --execute ./docs/source/notebooks/tutorial.py --output ./docs/source/notebooks/tutorial.ipynb
- name: Build
run: uv run --extra docs sphinx-build docs/source/ docs/build/html -b html
- name: Set permissions
run: chmod -R a+rX ./docs/build/html
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: html-docs
path: docs/build/html/

- name: Clean build directory
run: rm -rf docs/build/html
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
Expand Down

0 comments on commit a967877

Please sign in to comment.