Mesa (master): ci: only build docs if any docs changed

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jul 1 14:58:31 UTC 2020


Module: Mesa
Branch: master
Commit: 24fe9f43e568bc44b6be380f659da3571b35ad16
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=24fe9f43e568bc44b6be380f659da3571b35ad16

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Mon Jun 22 11:10:24 2020 +0200

ci: only build docs if any docs changed

Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>
Reviewed-by: Daniel Stone <daniels at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5469>

---

 .gitlab-ci.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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 at mesa/mesa
+    refs:
+    - master at mesa/mesa
+    changes:
+    - docs/**/*
+    - .gitlab-ci.yml
 
 # When to automatically run the CI
 .ci-run-policy:



More information about the mesa-commit mailing list