How to disable, in Gitlab Pages, "Unique domains" programmatically?

Hi there!

Currently I have to disable “Use unique domain” by going to the left sidebar > Deploy > Pages.

Is there any way to disable it but without using the browser? At first I thought that, maybe, there was some kind of variable to be (un)settable in .gitlab-ci.yml , but I have found nothing :slightly_frowning_face:

Many thanks in advance!

Did you find a way to disable “Use unique domain” by default?

It is currently not possible Globally change the default of unique pages domain feature and add a per-project API to toggle it (#456442) · Issues · GitLab.org / GitLab · GitLab