Pages Idea: Tie Repo branches to custom domain names
While thinking about how we plan to deploy our new frontpage, I thought about a nice staging url
staging.blah.com that I might be able to easily provide the team to preview the changes I was working on easily (without pulling my branch and building, etc..).
From reading the docs and playing a bit, it seems like what's served for a repo is merely the artifacts made from a gitlab-ci run. That's cool and great, but I don't want to publish artifacts from a development branch as the main content of my page! Hence what this feature req is for, is the possibility to tie the
Pages domains to branches, so when I build artifacts from a certain branch, those get served on a different custom domain i.e.
staging.blah.com instead of
Of course there are ways around this, like having a completely separate repository for staging commits, and then creating MR's to the main site repo. But this definitely makes it easier and contains the sites` commits into one repo.
Just an idea...