From eead13a63a4aba037fcc7f1502f9c2dedb11f69f Mon Sep 17 00:00:00 2001
From: dkoschitzki <dominic.koschitzki@h-da.de>
Date: Tue, 22 Nov 2022 16:24:26 +0100
Subject: [PATCH] adapt folder structure

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 786b1e5..3c27e0e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,13 +20,13 @@ default:
   before_script:
     - apk add --update --no-cache git go
     - git submodule update --init --recursive
-    - cd ./fachschaft
+    - cd fachschaft
     - hugo mod init gitlab.com/pages/hugo
     - hugo mod get -u github.com/adityatelange/hugo-PaperMod
 
 test:
   before_script:
-    - cd ./fachschaft
+    - cd fachschaft
   script:
     - hugo
   rules:
@@ -34,9 +34,11 @@ test:
 
 pages:
   before_script:
-    - cd ./fachschaft
+    - cd fachschaft
   script:
     - hugo
+  after_script:
+    - mv fachschaft/public public
   artifacts:
     paths:
       - public
-- 
GitLab