summaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r--.github/workflows/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 572f02544..e805b1bb8 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -300,4 +300,4 @@ jobs:
- name: Push documentation branch
working-directory: source
run: git push origin gh-pages
- if: github.event_name != 'pull_request' && github.repository == 'libgit2/libgit2'
+ if: github.event_name == 'push' && github.repository == 'libgit2/libgit2'