diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0df03b27ab2b59ee8d110bb9b28286b59ee03d61..0ae0f975f6192acfc64030200a95c0a79a47e886 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -45,7 +45,6 @@ publish_guide:
     - chmod 644 ~/.ssh/known_hosts
   script:
     - 'rsync -av angelguide_*.pdf $PUBLISH_USER@$PUBLISH_HOST:$PUBLISH_PATH'
-  only:
-    refs:
-      - master
-  when: manual
\ No newline at end of file
+  rules:
+    - if: $CI_COMMIT_TAG != null
+      when: manual
\ No newline at end of file