Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
skoudoro committed Sep 8, 2023
1 parent 461bc9c commit 4c82196
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,25 @@ jobs:
with:
python-version: '3.10'

# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install -r requirements.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build website
uses: ammaraskar/sphinx-action@master
with:
docs-folder: "."
run: |
make -C . html
- name: Upload HTML
uses: actions/upload-artifact@v1
with:
name: DocumentationHTML
path: _build/html/

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html
# cname: ${{ env.DOMAIN # TODO: set this if you're using a custom domain.

0 comments on commit 4c82196

Please sign in to comment.