Merge pull request #102 from specifysystems/100-add-dataset-title #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |