Skip to content

v1.2.0

v1.2.0 #11

name: Docs build and deploy
on:
release:
types: [published]
workflow_dispatch:
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Pandoc
uses: r-lib/actions/setup-pandoc@v2
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install docs dependencies
run: |
python -m pip install --upgrade pip
make install
pip install -r requirements.txt
- name: Build 🔧
run: |
make docs
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: docs # The branch the action should deploy to.
folder: docs/_build/html # The folder the action should deploy.