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