Update team.yaml #325
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: Check Sphinx Build | |
| on: | |
| pull_request: | |
| branches: [master, source] | |
| jobs: | |
| build-docs: | |
| name: Sphinx build of web pages | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| submodules: true | |
| - name: Install Conda environment from environment.yml | |
| uses: mamba-org/setup-micromamba@0dea6379afdaffa5d528b3d1dabc45da37f443fc # v2.0.4 | |
| with: | |
| environment-file: environment.yml | |
| cache-environment: true | |
| - name: Build documentation | |
| shell: bash -l {0} | |
| run: | | |
| make html linkcheck | |
| # workaround https://github.com/actions/upload-artifact/issues/38 | |
| - name: tarball | |
| run: tar czf site.tar.gz ./_build/html/ | |
| # https://github.com/actions/upload-artifact | |
| - name: Upload Website artifact | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # 4.6.2 | |
| with: | |
| name: Website | |
| path: site.tar.gz |