Initial GitHub Release #1
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: Generate Documentation and Publish to Pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
pages: | |
name: Generate Documentation and Publish to Pages | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install Sphinx Python Dependencies | |
run: pip install -r requirements.txt | |
working-directory: Documentation | |
- name: Build Documentation | |
run: make html | |
working-directory: Documentation | |
- name: Deploy Documentation to Pages | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./Documentation/_build/html |