[pre-commit.ci] pre-commit autoupdate (#55) #67
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.9" | |
- name: Install dependencies | |
run: | | |
sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable -y | |
sudo apt-get -qq update | |
sudo apt-get install gdal-bin libgdal-dev -y | |
export CPLUS_INCLUDE_PATH=/usr/include/gdal | |
export CPLUS_INCLUDE_PATH=/usr/include/gdal | |
gdal-config --version | |
gdalinfo --version | |
python -m pip install --upgrade pip | |
pip install wheel | |
pip install --user --no-cache-dir Cython | |
pip install --find-links=https://girder.github.io/large_image_wheels --no-cache GDAL | |
pip install --user -r requirements.txt | |
# pip install pygdal==3.3.2.10 | |
- run: pip install mkdocs-material mkdocstrings mkdocstrings-python mkdocs-git-revision-date-plugin mkdocs-jupyter mkdocs-pdf-export-plugin | |
- run: mkdocs gh-deploy --force |