Add geo_strf_steric_height function #285
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: Build and Deploy docs | |
| on: | |
| pull_request: | |
| push: | |
| release: | |
| types: | |
| - published | |
| defaults: | |
| run: | |
| shell: bash | |
| # no permissions by default | |
| permissions: {} | |
| jobs: | |
| run: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Set up Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | |
| with: | |
| python-version: "3.x" | |
| - name: Install gsw | |
| run: > | |
| python -m pip install -r requirements-dev.txt | |
| && python -m pip install -e . | |
| - name: Build documentation | |
| run: > | |
| set -e | |
| && pushd docs | |
| && make clean html linkcheck | |
| && popd | |
| - name: GitHub Pages action | |
| if: success() && github.event_name == 'release' | |
| uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: docs/_build/html |