Sha256: bf3da2c7a7d6f2c21eafc346c4841c51956e4c11374753580ca9ab7809f76da4
Contents?: true
Size: 546 Bytes
Versions: 10
Compression:
Stored size: 546 Bytes
Contents
Capistrano::Configuration.instance(:must_exist).load do # Deploy the custom maintenance page define_recipe :custom_maintenance_page do # Callbacks before "deploy:web:disable", "slice:copy_maintenance_page" # Tasks namespace :slice do desc "Copy the maintenance page from the public directory to the shared directory" task :copy_maintenance_page, :roles => :app do upload "public/maintenance.html","#{shared_path}/system/maintenance.html.custom", :via => :scp end end end end
Version data entries
10 entries across 10 versions & 1 rubygems