Skip to content

Merge pull request #94 from GreenScheduler/i89-93 #18

Merge pull request #94 from GreenScheduler/i89-93

Merge pull request #94 from GreenScheduler/i89-93 #18

name: Build and deploy docs
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Install cats
run: python3 -m pip install .
- run: |
pip install -r docs/docs-requirements.txt
- name: Build sphinx docs
run: make -C docs html
- name: Deploy sphinx docs
run: |
git config user.name 'github-action'
git config user.email 'github-action'
ghp-import -m 'Update sphinx docs' --push --no-history \
--branch gh-pages --no-jekyll --force docs/build/html