diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 74a8eb22..bb56721f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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