Make the plugin index-aware #7
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: Deploy Documentation | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
enable-cache: true | |
cache-dependency-glob: pyproject.toml | |
- name: setup | |
run: | | |
make dev INSTALL_EXTRA=doc | |
- name: build docs | |
run: | | |
make doc | |
- name: upload docs artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: ./html/ | |
deploy: | |
needs: build | |
runs-on: ubuntu-latest | |
permissions: | |
# NOTE: Needed to push to the repository. | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- id: deployment | |
uses: actions/deploy-pages@v4 |