Skip to content

minor

minor #16

Workflow file for this run

name: Sphinx test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build documentation
run: |
make html
pwd
ls -lh
- name: Commit and push to gh-pages
run: |-
git config --global user.email "[email protected]"
git config --global user.name "naic-bot"
touch .nojekyll
mv _build/html docs
touch docs/.nojekyll
git add -A
git commit -m "generated using sphinx-build"
- name: Push to pages
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
force: true
directory: docs