Use the architecture selection option from Looking Glass #22
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: Docs | |
on: | |
#push: | |
# branches-ignore: | |
# - '**' | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Requirements | |
run: sudo apt update | |
&& sudo apt install doxygen | |
&& sudo pip install sphinx | |
&& sudo pip install sphinx-rtd-theme | |
&& sudo pip install breathe | |
&& sudo pip install sphinx-sitemap | |
- name: Checkout repo | |
uses: actions/checkout@1.0.0 | |
- name: Build Documentation | |
run: cd docs | |
&& make html | |
&& cd _build/html | |
&& touch .nojekyll | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages # The branch the action should deploy to. | |
FOLDER: docs/_build/html # The folder the action should deploy. |