From 8fe8efba24d49a54285e9e6318d826130220d26a Mon Sep 17 00:00:00 2001
From: Anne Matthes <Anne.Matthes@open-xchange.com>
Date: Fri, 16 Apr 2021 11:38:32 +0200
Subject: [PATCH] Add environment information to gitlab-ci

---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4e6a152..aa2a635 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,6 +22,8 @@ deploy:
   script:
     - helm upgrade -i manifest-service helm/manifest-service -f helm/values/develop.yaml
     - kubectl rollout restart deployment manifest-service
+  environment:
+    name: $CI_COMMIT_REF_SLUG
+    url: https://manifest-$CI_COMMIT_REF_SLUG.k3s.os.oxui.de/
   only:
     - main
-  when: manual
-- 
GitLab