Skip to content

Commit

Permalink
back on github token
Browse files Browse the repository at this point in the history
  • Loading branch information
kuffmode committed Feb 23, 2024
1 parent 31e50b1 commit 9c63f0b
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@ jobs:
- name: Install project dependencies with Poetry
run: |
poetry install --no-root
- name: Install Sphinx with apt
- name: Build Sphinx Documentation
run: |
sudo apt-get install python3-sphinx
- name: Build the docs
run: |
cd docs && make clean html
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: 'docs/_build/html'
cd docs # Adjust this to the location of your Sphinx conf.py
poetry run sphinx-build -b html . _build/html
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v2
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html # Adjust this to match the Sphinx build output directory

0 comments on commit 9c63f0b

Please sign in to comment.