Skip to content

Bump https://github.com/codespell-project/codespell from v2.4.1 to 2.4.2 #410

Bump https://github.com/codespell-project/codespell from v2.4.1 to 2.4.2

Bump https://github.com/codespell-project/codespell from v2.4.1 to 2.4.2 #410

Workflow file for this run

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@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.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@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html