diff options
Diffstat (limited to 'lib/gitlab/ci/templates/Pages/HTML.gitlab-ci.yml')
-rw-r--r-- | lib/gitlab/ci/templates/Pages/HTML.gitlab-ci.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/ci/templates/Pages/HTML.gitlab-ci.yml b/lib/gitlab/ci/templates/Pages/HTML.gitlab-ci.yml index 92f25280c6e..8aee121a2e9 100644 --- a/lib/gitlab/ci/templates/Pages/HTML.gitlab-ci.yml +++ b/lib/gitlab/ci/templates/Pages/HTML.gitlab-ci.yml @@ -9,4 +9,5 @@ pages: paths: - public only: - - master + variables: + - $CI_DEFAULT_BRANCH == $CI_COMMIT_REF_NAME |