deps: Update dependency jax to >=0.9.2 (#702) #28
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: Docs | |
| on: [push, pull_request] | |
| permissions: {} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| docs-build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 | |
| with: | |
| pixi-version: v0.62.0 | |
| cache: true | |
| environments: docs | |
| - name: Build Docs | |
| run: pixi run -e docs docs | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 | |
| with: | |
| name: docs-build | |
| path: docs/build/ | |
| docs-deploy: | |
| name: Deploy | |
| if: ${{ github.event.workflow_run.event == 'push' }} | |
| needs: docs-build | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write # needed for the deploy step | |
| environment: | |
| name: docs-deploy | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Download Artifact | |
| uses: actions/download-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 | |
| with: | |
| name: docs-build | |
| path: docs/build/ | |
| - name: Deploy | |
| uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0 | |
| with: | |
| folder: docs/build/ | |
| ssh-key: ${{ secrets.DEPLOY_KEY }} |