Skip to content

simplify CI

simplify CI #2

Workflow file for this run

name: Build documentation
env:
PR_NUMBER: ${{ github.event.number }}
on:
push:
branches:
- 'main'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install Requirements
run: |
pip install -r ./requirements.txt
- name: Build docs
run: |
sphinx-build -b html . ./docs_build/
cd docs_build
touch .nojekyll
- name: Deploy Test Build
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs_build
target-folder: latest