From dd32420af69e9a61f5e0d8e4f9d1b51022ee81d2 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Thu, 12 Sep 2024 13:45:16 +0200 Subject: [PATCH] if: github.ref == 'refs/heads/main' --- .github/workflows/sphinx.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index bd670c0..0101f0f 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -44,6 +44,6 @@ jobs: needs: build_docs runs-on: ubuntu-latest steps: - - if: github.event_name != 'pull_request' + - if: github.ref == 'refs/heads/main' uses: actions/deploy-pages@v4 id: deployment