Skip to content

Merge pull request #839 from PaulRBerg/patch-1 #643

Merge pull request #839 from PaulRBerg/patch-1

Merge pull request #839 from PaulRBerg/patch-1 #643

Workflow file for this run

name: GitHub Pages
on: [push, pull_request, workflow_dispatch]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Checkout
uses: actions/[email protected]
- name: Install Tox and any other packages
run: pip install tox
- name: Sphinx
run: tox -e doc
- name: Deploy
if: ${{ github.event_name == 'push' && ( github.ref == 'refs/heads/master' || github.ref == 'refs/heads/pyspec') }}
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: .tox/docs/stage1_out