From 40463bbc0470d38cb16d85731f3c94563aaf3e0d Mon Sep 17 00:00:00 2001
From: Florian Sesser <florian@privatestorage.io>
Date: Mon, 15 Mar 2021 16:30:03 +0000
Subject: [PATCH] Make branch names reflect discussion result

See https://whetstone.privatestorage.io/opensource/PrivateStorageio/-/issues/58
---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ac2a9e9c..152a4d7c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,7 +17,7 @@ system-tests:
 deploy-to-staging:
   stage: "deploy"
   only:
-    - "develop"
+    - "staging"
   script:
     - echo -n "Hello $GITLAB_USER_LOGIN from $CI_JOB_NAME. I was triggered by $CI_PIPELINE_SOURCE "
     - echo "and would like to deploy the $CI_COMMIT_BRANCH branch to the staging environment."
@@ -25,7 +25,7 @@ deploy-to-staging:
 deploy-to-production:
   stage: "deploy"
   only:
-    - "main"
+    - "production"
   script:
     - echo -n "Hello $GITLAB_USER_LOGIN from $CI_JOB_NAME. I was triggered by $CI_PIPELINE_SOURCE "
     - echo "and would like to deploy the $CI_COMMIT_BRANCH branch to the production environment."
-- 
GitLab