Skip to content

'Refactored by Sourcery' #28

'Refactored by Sourcery'

'Refactored by Sourcery' #28

Workflow file for this run

name: "Build Documentation"
on: [push, pull_request]
jobs:
ci:
strategy:
fail-fast: false
matrix:
python-version: [3.9]
poetry-version: [1.1.5]
os: [ubuntu-18.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Prep dependencies
run: poetry install
- name: Build docs
run: poetry run sphinx-build docs ./genDocs
- name: Deploy Documentation
if: ${{ (github.ref == 'refs/heads/main' && github.repository == 'HaoZeke/wailord') || (github.ref == 'refs/heads/master' && github.repository == 'HaoZeke/wailord')}}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./genDocs