diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3eab7cf8a44fe0906966ae11c583b759f87b5f70..5644073f114876875c15aad1094046568dbf8bd9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,10 +1,5 @@
 image: python:3.7
 
-cache:
-  paths:
-    - .venv
-  key: "${CI_COMMIT_REF_SLUG}"
-
 stages:
   - test
   - deploy
@@ -17,3 +12,11 @@ test:
   stage: test
   script:
     - poetry run pytest
+
+deploy:
+  stage: deploy
+  script:
+    - echo "deploy"
+    - poetry build -v
+  rules:
+    - if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+$/'