mirror of https://github.com/mpv-player/mpv
travis: trigger website rebuild only on docs changes
This commit is contained in:
parent
e955ae9000
commit
d889d1fbaa
|
@ -10,6 +10,11 @@ if [ "x$TRAVIS_BRANCH" != "xmaster" ]; then
|
||||||
exit;
|
exit;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
TRAVIS_COMMIT_RANGE=${TRAVIS_COMMIT_RANGE:-HEAD^..}
|
||||||
|
if git diff --quiet --name-only --exit-code "$TRAVIS_COMMIT_RANGE" DOCS/; then
|
||||||
|
exit;
|
||||||
|
fi
|
||||||
|
|
||||||
body='{
|
body='{
|
||||||
"request": {
|
"request": {
|
||||||
"branch":"master"
|
"branch":"master"
|
||||||
|
|
Loading…
Reference in New Issue