mirror of
https://github.com/mpv-player/mpv
synced 2024-11-03 03:19:24 +01:00
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;
|
||||
fi
|
||||
|
||||
TRAVIS_COMMIT_RANGE=${TRAVIS_COMMIT_RANGE:-HEAD^..}
|
||||
if git diff --quiet --name-only --exit-code "$TRAVIS_COMMIT_RANGE" DOCS/; then
|
||||
exit;
|
||||
fi
|
||||
|
||||
body='{
|
||||
"request": {
|
||||
"branch":"master"
|
||||
|
Loading…
Reference in New Issue
Block a user