Sha256: 27d54fecbbe3abb83f05a9244a84ca801286e62d35558eeaea674957fb8c2c8a
Contents?: true
Size: 309 Bytes
Versions: 29
Compression:
Stored size: 309 Bytes
Contents
# encoding: utf-8 require 'nanoc/cli' namespace :deploy do desc 'Upload the compiled site using rsync' task :rsync do dry_run = !!ENV['dry_run'] config_name = ENV['config'] || :default cmd = [ 'deploy', '-t', config_name ] cmd << '-n' if dry_run Nanoc::CLI.run cmd end end
Version data entries
29 entries across 29 versions & 1 rubygems