Skip to content

Commit 4fe52df

Browse files
authored
Merge pull request libgit2#5316 from libgit2/ethomson/publish_docs_on_master
ci: only push docs from the libgit2/libgit2 repo
2 parents 36bfc27 + 9c30fbe commit 4fe52df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,4 +174,4 @@ jobs:
174174
echo 'password $(GITHUB_PAT)' >> ~/.netrc
175175
git push origin gh-pages
176176
displayName: 'Publish Documentation'
177-
condition: eq(variables['Build.Reason'], 'IndividualCI')
177+
condition: and(eq(variables['Build.Repository.Name'], 'libgit2/libgit2'), eq(variables['Build.Reason'], 'IndividualCI'))

0 commit comments

Comments
 (0)