Skip to content

Remove PY2. (#550) #146

Remove PY2. (#550)

Remove PY2. (#550) #146

name: Build & Deploy Doc
on:
push:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install
run: |
python -m pip install -U pip
pip install --progress-bar off -U .[docs]
- name: Make
run: |
cd docs
make html
cd ..
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html