Suppose I make a website with a basic directory structure:
and I want to host it on GitLab Pages.
How do I correctly configured the .gitlab-ci.yml file?
All the paths within the website are relative, and it should require not additional set-up - so there are no scrips to run…
The set-up pages page states to host plain html all one needs is this:
pages: stage: deploy script: - mkdir .public - cp -r * .public - mv .public public artifacts: paths: - public only: - master
but that is only for hosting the master branch… So how do I configure the path to make ./pages/home.html the main page?