-
Notifications
You must be signed in to change notification settings - Fork 19
32 lines (32 loc) · 1.07 KB
/
docs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: docs
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
# - name: Install GDAL
# run: |
# python -m pip install --upgrade pip
# pip install --no-cache-dir Cython
# pip install --find-links=https://girder.github.io/large_image_wheels --no-cache GDAL
# - name: Test GDAL installation
# run: |
# python -c "from osgeo import gdal"
# gdalinfo --version
# - name: Install dependencies
# run: |
# pip install -r requirements.txt -r requirements_dev.txt
# pip install .
# - name: PKG-TEST
# run: |
# python -m unittest discover tests/
- run: python -m pip install --upgrade pip
- run: pip install mkdocs-material mkdocstrings mkdocs-git-revision-date-plugin mkdocs-jupyter ipykernel mkdocstrings-crystal mkdocstrings-python-legacy
- run: mkdocs gh-deploy --force