Skip to content

Merge pull request #44 from fkroeber/extent_feat #76

Merge pull request #44 from fkroeber/extent_feat

Merge pull request #44 from fkroeber/extent_feat #76

Workflow file for this run

name: Sphinx build
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup-conda-environment
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: semantique
- name: install-package-requirements
shell: bash -l {0}
run: |
conda config --add channels conda-forge
conda config --set channel_priority strict
conda install geocube datacube
- name: install-package
shell: bash -l {0}
run: |
pip install -e .
- name: install-build-requirements
shell: bash -l {0}
run: |
sudo apt-get install -y pandoc
pip install -r ./docs/requirements.txt
- name: copy-figures
shell: bash -l {0}
run: |
cp -r ./demo/figures/ ./docs/source/_notebooks/figures/
- name: build
shell: bash -l {0}
run: |
sphinx-build -b html ${SOURCE_DIR} ${BUILD_DIR}
env:
SOURCE_DIR: ./docs/source
BUILD_DIR: ./docs/build
- name: deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build
publish_branch: gh-pages