diff options
Diffstat (limited to 'lib/helpers/generic.rb')
-rw-r--r-- | lib/helpers/generic.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helpers/generic.rb b/lib/helpers/generic.rb index 264ba497..76399023 100644 --- a/lib/helpers/generic.rb +++ b/lib/helpers/generic.rb @@ -16,7 +16,7 @@ module Nanoc::Helpers # which they are considered production. # def production_and_default_branch? - ENV['NANOC_ENV'] == 'production' and ENV['CI_DEFAULT_BRANCH'] == ENV['CI_COMMIT_BRANCH'] + ENV['NANOC_ENV'] == 'production' and ENV['CI_DEFAULT_BRANCH'] == ENV['CI_COMMIT_REF_NAME'] end # |