diff --git a/.github/workflows/sphinx-build.yml b/.github/workflows/sphinx-build.yml index fe8793f..dd89706 100644 --- a/.github/workflows/sphinx-build.yml +++ b/.github/workflows/sphinx-build.yml @@ -39,6 +39,10 @@ jobs: run: | cd docs make html + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 + with: + path: 'docs/_build/html' # Deployment job deploy: @@ -48,10 +52,6 @@ jobs: runs-on: ubuntu-latest needs: build steps: - - name: Upload artifact - uses: actions/upload-pages-artifact@v2 - with: - path: 'docs/_build/html' - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v2