diff --git a/.gitlab-ci.yaml b/.gitlab-ci.yaml index 9e9bcf78883a6c1fe446a7546b030779ca6ebe75..96178e3d728dffbcd7d705c601a7719b58fb4a89 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