Creating and pushing the following file will use the GitLab Continuous Integration feature to copy the html from the public directory of your repository to the server. The script is executed on a shared docker runner width the tag “pages”.
pages:
tags:
- public-docker
script:
- mkdir public
- echo 'my test' > public/index.html
artifacts:
paths:
- public