Skip to content

Commit

Permalink
Edited directory for documentation generation
Browse files Browse the repository at this point in the history
  • Loading branch information
dwest77a committed Oct 11, 2024
1 parent d45841b commit 37580f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@ jobs:
run: |
mkdir gh-pages
touch gh-pages/.nojekyll
cd docs/
cd docs/source/
poetry run sphinx-build -b html . _build
cp -r _build/* ../gh-pages/
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: html-docs
path: docs/build/html/
path: docs/gh-pages
# Deploys to the gh-pages branch if the commit was made to main, the
# gh-pages then takes over serving the html
- name: Deploy documentation
if: ${{ github.event_name == 'push' }}
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: gh-pages
folder: gh-pages
folder: docs/gh-pages

0 comments on commit 37580f7

Please sign in to comment.