Skip to content

Upgrade the IOOS environment to Python 3.13 #4

Upgrade the IOOS environment to Python 3.13

Upgrade the IOOS environment to Python 3.13 #4

name: Check linkrot
on:
pull_request:
push:
branches: [main]
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: "3.x"
- name: Build documentation
run: >
set -e
&& pip install jupyter-book
&& jupyter-book build jupyterbook --builder linkcheck
- name: GitHub Pages action
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: jupyterbook/_build/html