Pages for branches


I developed a website and I put it on GitLab. Then I used a template name ‘HTML’ for my “.gitlab-ci.yml”. Now I create a branche from master. In this branche I would to try what I want and create a page but not the same than the master one. How can I do that ?

From doc ( : “Additionally, you can have a distinct .gitlab-ci.yml for each repository - even for each branch. This means you can test your script in parallel branches before pushing to your master branch. If the build succeeds, you merge. If it doesn’t, you can make adjustments and try building again without messing up your master branch.”

So where is the tutorial for that ? I read and follow all tutorials about pipelines, CI and pages and nothing.



Did you find any solution for this? I want to somehow do the same thing.