Skip to content

Merge pull request #16 from Jena-Earth-Observation-School/docs/sanlc #16

Merge pull request #16 from Jena-Earth-Observation-School/docs/sanlc

Merge pull request #16 from Jena-Earth-Observation-School/docs/sanlc #16

Workflow file for this run

name: deploy-book
on:
push:
branches:
- main
paths:
- "docs/**"
- ".github/workflows/deploy.yml"
workflow_dispatch:
jobs:
deploy-book:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install -r docs/requirements.txt
- name: Build the book
run: |
jupyter-book build docs
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html