diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ffcd70dfb5433e10b81507f59c63ad30576036a1..66dd63ba89bd3029f8ed41fbf2b7919e4b81e337 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,3 +28,5 @@ build and upload the contents:
     - python code/bands_2d.py
     - mkdocs build
     - "rsync -rv site/* solidstate@tnw-tn1.tudelft.net:"
+  only:
+    - branches@solidstate/lectures
\ No newline at end of file