diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 31e4852..29f9283 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -56,14 +56,14 @@ jobs: run: uv run mkdocs build --strict --site-dir site - name: Upload Pages artifact - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') uses: actions/upload-pages-artifact@v5 with: path: site deploy: name: Deploy GitHub Pages - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') needs: build runs-on: ubuntu-latest permissions: