feat: update docs for the jetson setup #64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build docs | |
on: | |
push: | |
branches: | |
main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-docs: | |
name: Build documentation | |
runs-on: ubuntu-22.04 | |
if: github.repository == 'PegasusResearch/pegasus' | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install doc requirements | |
working-directory: ./docs | |
run: pip install -r requirements.txt | |
- name: Compile html docs | |
working-directory: ./docs | |
run: make html | |
- name: Deploy to github pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/_build/html |