Skip to content

Merge pull request #147 from bcgsc/bugfix/workflow_updates #47

Merge pull request #147 from bcgsc/bugfix/workflow_updates

Merge pull request #147 from bcgsc/bugfix/workflow_updates #47

name: publish gh-pages docs
on:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- name: checkout
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: install and build
run: |
python -m pip install --upgrade pip setuptools
pip install .[docs]
pip install markdown_refdocs mkdocs mkdocs-material
markdown_refdocs ipr -o docs/reference --link
mkdocs build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build-docs