Skip to content

Bump peaceiris/actions-gh-pages from 3.9.3 to 4.0.0 (#229) #116

Bump peaceiris/actions-gh-pages from 3.9.3 to 4.0.0 (#229)

Bump peaceiris/actions-gh-pages from 3.9.3 to 4.0.0 (#229) #116

Workflow file for this run

name: Docs
on:
workflow_dispatch:
push:
branches:
- master
- main
jobs:
docs:
name: Build and deploy docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install pandoc
uses: r-lib/actions/setup-pandoc@v2
- name: Install package
run: python -m pip install .[docs]
- name: Build documentation
run: |
cd docs
make
touch build/html/.nojekyll
- name: Deploy documentation
uses: peaceiris/actions-gh-pages@v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html