Skip to content

Merge pull request #19 from centre-for-humanities-computing/x-tabdeve… #46

Merge pull request #19 from centre-for-humanities-computing/x-tabdeve…

Merge pull request #19 from centre-for-humanities-computing/x-tabdeve… #46

name: Documentation
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Build and Commit
uses: sphinx-notes/pages@v2
- name: Push changes
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.SPHINX_DOCUMENTATION }}
branch: gh-pages