chore(main): release 1.0.1 (#95) #35
This file contains hidden or 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: publish docs | |
| on: | |
| workflow_dispatch: | |
| workflow_call: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: false | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - name: checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: install project | |
| run: uv sync | |
| - name: build docs | |
| run: uv run sphinx-build -M html ./docs/source ./docs/build/ | |
| - name: setup pages | |
| uses: actions/configure-pages@v5 | |
| - name: upload artifact | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: './docs/build/html' | |
| - name: deploy to github pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |