diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e12af641c20d2e52fc662e525e94e25329d58038..df364c3f11be7ffa004c7c75418b5a6ecefdc108 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,7 @@
 upload:
   stage: deploy
+  rules:
+    - if: $CI_COMMIT_TAG
   needs: []
   image: python:3.11
   variables: