From d1cec7b8b0da758cfc4320c9ec1c70462b0174b3 Mon Sep 17 00:00:00 2001
From: Percen <21pesi1bif@hft-stuttgart.de>
Date: Sun, 8 Dec 2024 20:51:48 +0000
Subject: [PATCH] Update .gitlab-ci.yml file

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 47c6449..6df10c7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,14 +1,16 @@
 image: alpine:latest
 
 stages:
-    - deploy
-  
+  - deploy
+
 pages:
   stage: deploy
   script:
     - echo "deploy to https://transfer.hft-stuttgart.de/pages/$CI_PROJECT_PATH/"
+    - mkdir -p public          # Erstelle das public-Verzeichnis
+    - echo "Hello World" > public/index.html  # Lege eine Testdatei hinein
   artifacts:
     paths:
       - public
-  only: 
+  only:
     - master
-- 
GitLab