From 5310dd472e1eafbbdc8d055fece214b2fe9907cd Mon Sep 17 00:00:00 2001 From: Krishna Kant Singh <k.singh@fz-juelich.de> Date: Fri, 28 Mar 2025 11:59:06 +0100 Subject: [PATCH] Edit .gitlab-ci.yaml --- .gitlab-ci.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yaml b/.gitlab-ci.yaml index 9e9bcf7..96178e3 100644 --- a/.gitlab-ci.yaml +++ b/.gitlab-ci.yaml @@ -1,9 +1,11 @@ +image: alpine:latest # Using a minimal Alpine Linux image + pages: script: - - mkdir -p public - - cp index.html public/ + - mkdir -p public # Ensure the public folder exists + - cp index.html public/ # Move your HTML file into the public folder artifacts: paths: - - public + - public # GitLab Pages serves files from 'public' only: - - main + - main # Runs this job only on the main branch -- GitLab