diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a2287535817cd81f62e993713a5c3882406a3c08..c8622aebd777edf7ce46881c252d971ff2ad505a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,6 +34,8 @@ build-master:
     expire_in: 1 hrs
   only:
     - master
+  environment:
+    name: staging
 
 test-and-deploy-master:
   stage: deploy
@@ -44,13 +46,11 @@ test-and-deploy-master:
     - eval $(cat ENVIRONMENTS)
     - gdebi --non-interactive build/${PKGNAME}_${VERSION}_${ARCH}.deb
   environment:
-    name: staging
+    name: production
   only:
     - tags
     - master
   artifacts:
     paths:
       - build/*
-    expire_in: 1 mos
-  only:
-    - tags
\ No newline at end of file
+    expire_in: 1 mos
\ No newline at end of file