Bump the actions group with 4 updates #182
Workflow file for this run
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: Documentation Build | |
| on: | |
| pull_request: | |
| push: | |
| tags: | |
| - "*" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| docs_build: | |
| runs-on: ubuntu-22.04 | |
| env: | |
| PYVISTA_OFF_SCREEN: True | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.13' | |
| cache: 'pip' | |
| cache-dependency-path: | | |
| **/requirements*.txt | |
| - name: Setup headless display | |
| uses: pyvista/setup-headless-display-action@v4 | |
| - name: Install tetgen | |
| run: pip install . | |
| - name: Build Documentation | |
| run: | | |
| pip install -r requirements_docs.txt | |
| make -C doc html | |
| - name: Deploy | |
| uses: JamesIves/github-pages-deploy-action@v4.7.4 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| BRANCH: gh-pages | |
| FOLDER: doc/_build/html | |
| CLEAN: true |