lib/nanoc/cli/commands/deploy.rb in nanoc-4.1.0 vs lib/nanoc/cli/commands/deploy.rb in nanoc-4.1.1
- old
+ new
@@ -12,9 +12,11 @@
module Nanoc::CLI::Commands
class Deploy < ::Nanoc::CLI::CommandRunner
def run
load_site
+ # FIXME: ugly to preprocess here
+ site.compiler.action_provider.preprocess(site)
# List deployers
if options[:'list-deployers']
deployers = Nanoc::Int::PluginRegistry.instance.find_all(Nanoc::Extra::Deployer)
deployer_names = deployers.keys.sort_by(&:to_s)