diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b00b35f2f05f1616bb132802e07370a4babee5c0..c1c8688598eeda82043a58c03426d8324603b372 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,6 +10,9 @@ makepkg:
     paths:
       - config.x86_64
       - "*.pkg.tar.*"
+  only:
+    - tags
+    - web
 
 commitpkg:
   stage: deploy
@@ -23,6 +26,5 @@ commitpkg:
     - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
     - seblu-push
   only:
-    refs:
-      - tags
-      - web
+    - tags
+    - web