aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2020-06-22 11:10:24 +0200
committerMarge Bot <[email protected]>2020-07-01 14:31:38 +0000
commit24fe9f43e568bc44b6be380f659da3571b35ad16 (patch)
treee0cecdfe2ccc1bab40755b4d741546f358371056
parentd1ca80235de99169148ab2f03b8b08553758af76 (diff)
ci: only build docs if any docs changed
Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Daniel Stone <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5469>
-rw-r--r--.gitlab-ci.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 84d06860866..ca9a22358c3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,7 +35,11 @@ pages:
paths:
- public
only:
- - master@mesa/mesa
+ refs:
+ - master@mesa/mesa
+ changes:
+ - docs/**/*
+ - .gitlab-ci.yml
# When to automatically run the CI
.ci-run-policy: