From 6816389b7e047f9c61a47bb4ede94ad40970dc51 Mon Sep 17 00:00:00 2001
From: Wolfgang Knopki <wolfgang.knopki@hft-stuttgart.de>
Date: Fri, 6 Dec 2019 10:45:08 +0100
Subject: [PATCH] [cicd] addeed tags to build script

---
 .gitlab-ci.yml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c123f1a..a57b67c 100755
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,6 +20,8 @@ pages-master:
   artifacts:
     paths:
       - public
+  tags: 
+    - production
   only:
     - master
 
@@ -34,11 +36,11 @@ pages-devel:
     - cp -r includes .public
     - cp *.html .public
     - mv .public public
-    - cd public
-    - /opt/jdk-12/bin/jar -cvf ROOT.war *
-    - curl --upload-file ROOT.war -u tomcat:$TOMCATPASS "http://193.196.52.30:8085/manager/text/deploy?path=/ROOT&update=true"
+    - cp -r public/* "$EXPORT_PAGES_DIR"
   artifacts:
     paths:
       - public
+  tags: 
+    - testing
   only:
     - devel
-- 
GitLab