Update deploy.yml #9
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: Deploy Sphinx Docs to GitHub Pages | |
on: | |
push: | |
branches: | |
- gh-pages | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.x' | |
- name: Install Sphinx & Dependencies | |
run: pip install sphinx sphinx_markdown_builder sphinx_rtd_theme | |
- name: Build Documentation | |
run: cd "$GITHUB_WORKSPACE/docs" && make html | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Documentation | |
path: "$GITHUB_WORKSPACE/_build/html/" |