Skip to content

Commit

Permalink
try again to fix build docs
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed Mar 14, 2024
1 parent f9658d2 commit 8704237
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,15 @@ jobs:
- run: pyright -p pyproject.toml
- run: pytest
- name: export documentation
if: ${{ github.ref == 'refs/head/main' }}
run: pdoc backoffice -o ./docs
- uses: actions/upload-pages-artifact@v3
if: ${{ github.ref == 'refs/head/main' }}
if: ${{ github.ref == 'refs/heads/main' }}
with:
path: docs/

deploy:
deploy_docs:
needs: build
if: ${{ github.ref == 'refs/head/main' }}
if: ${{ github.ref == 'refs/heads/main' }}
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
Expand Down

0 comments on commit 8704237

Please sign in to comment.