From 8a5dbbf4a4420455afb38f88e11daa5936ce011e Mon Sep 17 00:00:00 2001
From: Fabian Gabel <fabian.gabel@tuhh.de>
Date: Mon, 3 May 2021 19:46:19 +0200
Subject: [PATCH] only send .html files to tuhh

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 81bb411..436269e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -217,7 +217,8 @@ deploy-on-tuhh:
     - echo "$TUHH_KNOWN_HOSTS" >> ~/.ssh/known_hosts
     - chmod 700 ~/.ssh
   script:
-    - cp -r build-tuhh .public-tuhh
+    - mkdir -p .public-tuhh
+    - cp -r build-tuhh/*.html .public-tuhh
     - mv .public-tuhh public-tuhh
     # deploy webpage on tuhh
     - echo 'scp -v public-tuhh' "$TUHH_USER@$TUHH_HOST:$TUHH_DEPLOY"
-- 
GitLab