From fe944dec684539b8405a8ee971929119e25f8d51 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 28 Mar 2022 10:55:08 +0200 Subject: [PATCH] Only deploy the documentation from master Don't do it for pull requests. This check also seems to render the check for the repository owner unnecessary, so drop it instead of keeping both. --- .github/workflows/docs_update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs_update.yml b/.github/workflows/docs_update.yml index db73c4e4f2..fbdb711354 100644 --- a/.github/workflows/docs_update.yml +++ b/.github/workflows/docs_update.yml @@ -32,7 +32,7 @@ jobs: ./regen.sh php - name: Upload - if: github.repository_owner == 'wxWidgets' + if: github.ref == 'refs/heads/master' working-directory: docs/doxygen env: DOCS_WEBSITE_KEY: ${{secrets.DOCS_WEBSITE_KEY}}