[ci] Deploy only when there is something to push
Apparently the previous version of gtk-doc was doing weird changes like1b40da99bb
andd1d9bff14c
in order to make every to have something for pushing and now that we don't have such changes it will fail. Alternatively we can go for `git commit --allow-empty`, guess better to pollute history of https://github.com/harfbuzz/harfbuzz.github.io however.
This commit is contained in:
parent
029ecf326e
commit
6bf5e8e7e6
@ -27,5 +27,8 @@ git reset upstream/master
|
||||
|
||||
touch .
|
||||
git add -A .
|
||||
git commit -m "Rebuild docs for https://github.com/harfbuzz/harfbuzz/commit/$REVISION"
|
||||
git push -q upstream HEAD:master
|
||||
|
||||
if [[ $(git status -s) ]]; then
|
||||
git commit -m "Rebuild docs for https://github.com/harfbuzz/harfbuzz/commit/$REVISION"
|
||||
git push -q upstream HEAD:master
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user