lib/vx/builder/script_builder/base.rb in vx-builder-0.5.31 vs lib/vx/builder/script_builder/base.rb in vx-builder-0.5.32
- old
+ new
@@ -41,10 +41,10 @@
yield env.install
end
end
def do_before_script(env)
- if env.source.before_script.empty?
+ if env.source.before_script.empty? && !deploy?(env)
yield env.before_script
end
end
def do_deploy_script(env)