diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 129ee50869b1f6d1f1d90e994cbbacd1d66f72cc..f8ad4f14e4cf68bcc970c3ca60e3c64ed102a1d7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,5 @@
 stages:
   - build
-  - deploy
   - sync
 
 variables:
@@ -9,7 +8,7 @@ variables:
 
 # start an OpenShift Job that will build the Spack environment
 .deploy-build-environment:
-  stage: deploy
+  stage: build
   script:
     # login and select project in openshift
     - oc login "$OPENSHIFT_SERVER" --token="$OPENSHIFT_TOKEN"