diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ef0976fcab071648ce7d237034c4545124990608..352b6bfc3baacdbd3357cf349feeb30a87f25eea 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -216,25 +216,25 @@ Mage01 Library:
   variables:
     APP_NAME: geomag-algorithms
 
-Mage02 Library:
+Mage01 Web Service:
   extends:
-    - .deploy-library
-    - .production
+    - .deploy
+    - .staging
   tags:
     - deploy
     - swarm
-    - mage02
+    - mage01
   variables:
     APP_NAME: geomag-algorithms
 
-Mage01 Web Service:
+Mage02 Library:
   extends:
-    - .deploy
-    - .staging
+    - .deploy-library
+    - .production
   tags:
     - deploy
     - swarm
-    - mage01
+    - mage02
   variables:
     APP_NAME: geomag-algorithms