-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (34 loc) · 1.1 KB
/
docs.yaml
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
33
34
35
36
37
38
39
40
41
42
name: Deploy docs
on:
push:
branches:
- master
jobs:
docs:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.9.x"
- name: Upgrade pip
run: |
pip install -U pip poetry pdoc3
- name: Install GDAL for osgeo deps
run: |
curl -sSLo ./GDAL-3.4.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl https://prefeitura-rio.github.io/storage/GDAL-3.4.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
python -m pip install --no-cache-dir ./GDAL-3.4.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- name: Install package and doc dependencies
run: |
python -m pip install .
- name: Generate docs
run: |
pdoc3 --html --html-dir docs -c "lunr_search={}" pipelines
- name: Deploy docs
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs/pipelines