Skip to content

Merge pull request #68 from carnegiemellonracing/DocumentationBranch-1 #2

Merge pull request #68 from carnegiemellonracing/DocumentationBranch-1

Merge pull request #68 from carnegiemellonracing/DocumentationBranch-1 #2

Workflow file for this run

name: Perceptions Library 22a
on:
push:
branches:
- DocumentationBranch
pull_request:
branches:
- DocumentationBranch
workflow_dispatch:
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme myst_parser
- name: Build documentation
run: make html
working-directory: PerceptionsLibrary22a/documentation/html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: PerceptionsLibrary22a/documentation/html/_build/html