added Consist Follow Functions page #201
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: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Requirements | |
run: | | |
pip3 install sphinx-rtd-theme==1.0.0 | |
pip3 install sphinx-sitemap | |
pip3 install sphinxcontrib-spelling | |
pip3 install sphinx_rtd_dark_mode==1.2.4 | |
- name: Checkout repo | |
uses: actions/checkout@1.0.0 | |
- name: Build docs | |
run: | | |
make github | |
echo 'flash62au.github.io/EngineDriver_Home/' > docs/_build/html/CNAME | |
touch docs/_build/html/.nojekyll | |
- name: Deploy | |
if: github.ref == 'refs/heads/main' | |
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. |