Merge pull request #41 from civilx64/doc/non-normative-clarification #4
Workflow file for this run
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 with Sphinx and deploy to Github Pages" | |
on: | |
push: | |
branches: gh-pages | |
jobs: | |
build_and_deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
id-token: write | |
pages: write | |
env: | |
INPUT_DOCS-FOLDER: docs | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build HTML | |
uses: civilx64/sphinx-action@master | |
with: | |
docs-folder: docs/ | |
- name: Setup Pages | |
uses: actions/configure-pages@v4 | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
# Upload html docs | |
path: './docs/_build/html' | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |