Skip to content

Fix apt-get: add update and --fix-missing for cartopy deps #3

Fix apt-get: add update and --fix-missing for cartopy deps

Fix apt-get: add update and --fix-missing for cartopy deps #3

Workflow file for this run

name: Deploy docs
on:
push:
branches: [main]
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y --fix-missing libgeos-dev libproj-dev proj-bin
- name: Install dependencies
run: |
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install torch-harmonics
pip install pdoc numpy xarray matplotlib tqdm zarr pandas scipy \
scikit-image psutil wandb Pillow cftime cartopy
- name: Build docs
run: python build_docs.py
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs