add gif for visualizing task chaining #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Pages | |
on: | |
push: | |
branches: | |
- update-docs | |
permissions: | |
id-token: write | |
contents: write | |
pages: write | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
- name: Turn script into notebook | |
run: | | |
uv run --extra docs python -m ipykernel install --name daisy_env --user | |
uv run --extra docs jupytext --to notebook --execute ./docs/source/notebooks/tutorial.py --output ./docs/source/notebooks/tutorial.ipynb | |
rm ./docs/source/notebooks/tutorial.py | |
- 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: Update gh branch | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs/build/html |