Bump actions/cache from 5.0.3 to 5.0.4 #56
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: Release Documentation | |
| permissions: write-all | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| build_docs: | |
| name: Build docs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Pull Repo | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| persist-credentials: false | |
| - uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e | |
| with: | |
| pixi-version: v0.62.2 | |
| locked: true | |
| cache: true | |
| cache-write: false | |
| environments: dev | |
| - name: Build Docs | |
| run: | | |
| pixi reinstall -e dev NLR-GAPs | |
| pixi run -e dev python-docs | |
| - name: deploy | |
| uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e | |
| if: startsWith(github.ref, 'refs/tags/v') | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./docs/_build/html | |
| force_orphan: true | |
| full_commit_message: ${{ github.event.head_commit.message }} |