mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 11:06:32 +00:00
Merge pull request #6108 from libgit2/ethomson/docs_ci
ci: only update docs on push
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user