make the preferences wording more consistent #47
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-22.04 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Requirements | |
# Allow sphinx-rtd-theme to choose the versions of sphinx & docutils | |
run: | | |
pip3 install -r requirements.txt | |
# pip3 install sphinx-rtd-theme==2.0.0 | |
# pip3 install sphinx-sitemap==2.6.0 | |
# pip3 install sphinxcontrib-spelling==8.0.0 | |
# pip3 install sphinx_rtd_dark_mode==1.2.4 | |
# pip3 install sphinx_reredirects==0.1.3 | |
- name: Build docs | |
run: | | |
make github | |
echo 'enginedriver.mstevetodd.com' > 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. |