From b963662efe5240e8b6180618592b60ea1c7a0141 Mon Sep 17 00:00:00 2001 From: Krishna Kant Singh <k.singh@fz-juelich.de> Date: Fri, 28 Mar 2025 11:50:07 +0100 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4cadb16..06dc0fe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,2 +1,12 @@ # The Docker image that will be used to build your app image: alpine:latest + +pages: + script: + - mkdir -p public # Ensure the public folder exists + - cp index.html public/ # Move your HTML file into the public folder + artifacts: + paths: + - public # GitLab Pages serves files from 'public' + only: + - main # Runs this job only on the main branch \ No newline at end of file -- GitLab