workflows/apidoc: try to rebase before pushing.
This avoids failures when you have two `master` builds running at once.
This commit is contained in:
parent
88a1334664
commit
c79cb6a2db
2
.github/workflows/apidoc.yml
vendored
2
.github/workflows/apidoc.yml
vendored
@ -37,5 +37,7 @@ jobs:
|
|||||||
|
|
||||||
if ! git diff --exit-code HEAD -- docs; then
|
if ! git diff --exit-code HEAD -- docs; then
|
||||||
git commit -m 'docs: update from Homebrew/brew push' docs
|
git commit -m 'docs: update from Homebrew/brew push' docs
|
||||||
|
git fetch
|
||||||
|
git rebase origin/master
|
||||||
git push
|
git push
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user