Skip to content

Merge pull request #93 from specifysystems/88-deployment-tests #24

Merge pull request #93 from specifysystems/88-deployment-tests

Merge pull request #93 from specifysystems/88-deployment-tests #24

name: Sphinx to GitHub Pages
# Builds documentation residing at https://biotaphy.github.io/tutorials/
on:
push:
tags:
- '*.*.*' # Tag events matching {major}.{minor}.{patch}{whatever}
# Change to whatever branch contains up-to-date documentation
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
with:
fetch-depth: 0
- name: Install documentation dependencies
#uses: py-actions/py-dependency-install@v2
#with:
# path: "requirements-docs.txt"
run: |
pip install -r requirements-docs.txt
- name: Build and Commit
uses: sphinx-notes/[email protected]
with:
documentation_path: sphinx/
- name: Push changes to GH Pages branch
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages