Skip to content

Update documentation.yml #18

Update documentation.yml

Update documentation.yml #18

Workflow file for this run

name: "Perceptions Library 22a"
on: push
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Build HTML
uses: ammaraskar/sphinx-action@master
with:
docs-folder: "documentation/source"
build-command: "sphinx-build -b html source build"
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: html-docs
path: documentation/html/build/html/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: documentation/html/build/html