From 89b94f076f7ceb905410a2b13c04de112a778944 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20OLIVIER?= <cedric3.olivier@orange.com>
Date: Wed, 6 Oct 2021 19:16:03 +0000
Subject: [PATCH] fix: use master or main for production env

---
 templates/gitlab-ci-cypress.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/gitlab-ci-cypress.yml b/templates/gitlab-ci-cypress.yml
index 911ea83..b534dca 100644
--- a/templates/gitlab-ci-cypress.yml
+++ b/templates/gitlab-ci-cypress.yml
@@ -18,7 +18,7 @@ variables:
   CYPRESS_IMAGE: "cypress/included:4.6.0"
   CYPRESS_PROJECT_DIR: "."
   # default production ref name (pattern)
-  PROD_REF: '/^master$/'
+  PROD_REF: '/^(master|main)$/'
   # default integration ref name (pattern)
   INTEG_REF: '/^develop$/'
 
-- 
GitLab