diff --git a/templates/gitlab-ci-cypress.yml b/templates/gitlab-ci-cypress.yml
index 79a04e0ecc1dbe64a3954de5a39ea08cb568302f..cbcf6f3c991fce10c088d7c129bcd438d45d1b10 100644
--- a/templates/gitlab-ci-cypress.yml
+++ b/templates/gitlab-ci-cypress.yml
@@ -259,7 +259,7 @@ cypress:
       command: ["--service", "cypress", "3.3.1"]
   stage: acceptance
   before_script:
-    - *cypress-scripts
+    - !reference [.cypress-scripts]
     - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}"
     # retrieve server url to test from 'environment_url.txt' file
     - eval_base_url