Skip to content

Refactoring, updating the docs, automatic deployment of the documenta… #1

Refactoring, updating the docs, automatic deployment of the documenta…

Refactoring, updating the docs, automatic deployment of the documenta… #1

name: Test and Deploy
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: pip install -r requirements.txt
- name: Build the guide
run: jupyter-book build docs/
- name: Deploy on gh-pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html