diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e6df2372d234f8c7aacbd5158b56388ab0cbc48a..2f531f9d43573713a126f2f8901e1f3ee1c300aa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,8 +41,8 @@ build-job:       # This job runs in the build stage, which runs first.
   artifacts:
     paths:
       - release/knowledge-space.zip
-    rules:
-    - if: $CI_COMMIT_TAG
+  rules:
+  - if: $CI_COMMIT_TAG