GitLab CI: only rebuild the website when pushing to libinput proper
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 6 Jul 2018 00:12:32 +0000 (10:12 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 6 Jul 2018 00:16:09 +0000 (10:16 +1000)
We don't want to try build when someone pushes to <username>/libinput

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
.gitlab-ci.yml

index 6a1a3bb..d253b89 100644 (file)
@@ -648,6 +648,8 @@ wayland-web:
   only:
     refs:
       - master
+    variables:
+      - $CI_PROJECT_PATH == "libinput/libinput"
   dependencies:
   variables:
     DOT: "%2E"