Skip to content

Added libudunits to install #43

Added libudunits to install

Added libudunits to install #43

name: Docs
on:
push:
branches:
- main
- docs
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
sudo apt install pandoc libudunits2-dev
python -m pip install --upgrade pip
pip install ".[docs,schism,extra]"
- name: Build the docs
run: |
cd docs
make html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html