Skip to content

notes from AWS meeting #22

notes from AWS meeting

notes from AWS meeting #22

name: Sphinx to GitHub Pages
# Builds documentation residing at https://biotaphy.github.io/tutorials/
on:
push:
tags:
- '*.*.*' # Tag events matching {major}.{minor}.{patch}{whatever}
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/pages@2.0
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