Skip to content

Merge pull request #94 from TU-Delft-DCC/develop #51

Merge pull request #94 from TU-Delft-DCC/develop

Merge pull request #94 from TU-Delft-DCC/develop #51

Workflow file for this run

name: Deploy guides
on:
push:
branches:
- master
workflow_dispatch:
inputs:
tag:
description: Tag for manually deploying the jupyterbook
required: False
default: ""
jobs:
deploy-book:
name: Deploy jupyter book
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
architecture: "x64"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r docs/requirements.txt
pip install sphinx-book-theme --upgrade
- name: Build documentation
run: |
bash build.sh
# Push the book's HTML to github-pages
- name: GitHub Pages action
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html