summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azure-pipelines.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 75e4ef7c3..5ee741ce0 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -174,4 +174,4 @@ jobs:
echo 'password $(GITHUB_PAT)' >> ~/.netrc
git push origin gh-pages
displayName: 'Publish Documentation'
- condition: eq(variables['Build.Reason'], 'IndividualCI')
+ condition: and(eq(variables['Build.Repository.Name'], 'libgit2/libgit2'), eq(variables['Build.Reason'], 'IndividualCI'))