diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cf3ba01f910a0bf73e49088a69a1993a70f6c77c..9e4b424b096beac09b2c130ab0fe041f56196d8b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -44,7 +44,6 @@ stages:
   - setup
   - test
   - deploy
-  - trigger_downstream
 
 info:
   tags: [cached-dind]
@@ -176,8 +175,8 @@ trigger_inttest:
 
 # After the cppinttest have been successful, also start tests for Octave...
 trigger_octavelib:
-  stage: trigger_downstream
-  needs: [ trigger_prepare ]
+  stage: deploy
+  needs: [ trigger_prepare, trigger_inttest ]
   inherit:
     variables:
       # List the variables that shall be inherited, which also means they will override any equally
@@ -198,8 +197,8 @@ trigger_octavelib:
 
 # ... and for Julia.
 trigger_julialib:
-  stage: trigger_downstream
-  needs: [ trigger_prepare ]
+  stage: deploy
+  needs: [ trigger_prepare, trigger_inttest ]
   inherit:
     variables:
       # List the variables that shall be inherited, which also means they will override any equally