diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4cadb163f4bb61511b026cc9885bbc1ee1f7d128..06dc0fe1b17ecb68581eb43e1c3bd8d754d29ef1 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