From 265611baac747fe0ca2eec395071324c08bc1dad Mon Sep 17 00:00:00 2001
From: Wolfgang Knopki <wolfgang.knopki@hft-stuttgart.de>
Date: Mon, 8 Mar 2021 16:07:56 +0000
Subject: [PATCH] Update .gitlab-ci.yml, new pipeline

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 00d5494..f06bc50 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,12 +1,11 @@
-variables:
-  EXPORT_DIR: "/var/www/html/pages"
+image: alpine:latest
 
-pages-master:
+pages:
   stage: deploy
   script:
-    - mkdir -p "$EXPORT_DIR/INsource"     
-    - cp -r * "$EXPORT_DIR/INsource"
-  tags:
-    - production
+  - echo "Deploying to https://transfer.hft-stuttgart.de/pages/$CI_PROJECT_PATH/"
+  artifacts:
+    paths:
+    - ./
   only:
-    - master
\ No newline at end of file
+  - master
-- 
GitLab