Revert to publish_dir: ./docs/build/html #3
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 | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Check out source | |
uses: actions/checkout@v3 | |
- name: Install Sphinx dependencies | |
run: | | |
pip install -r ./docs/requirements.txt | |
- name: Build HTML | |
run: | | |
cd docs/ | |
make html | |
- name: Deploy HTML to GitHub Pages | |
uses: peaceiris/[email protected] | |
with: | |
publish_branch: gh-pages | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/build/html |