Sha256: 39d88a05c99dbf2ef66b83aa47575fb908ccdaf43f112570458b8e1ed5464842
Contents?: true
Size: 513 Bytes
Versions: 94
Compression:
Stored size: 513 Bytes
Contents
namespace :deploy do namespace :assets do desc "Copy Exception Pages from assests to public folder." task :copy_exceptions do on roles(:web) do within release_path do execute :sudo, :cp, "-f public/assets/404.html public/" execute :sudo, :cp, "-f public/assets/422.html public/" execute :sudo, :cp, "-f public/assets/500.html public/" end end end after "deploy:compile_assets", "deploy:assets:copy_exceptions" end end
Version data entries
94 entries across 94 versions & 1 rubygems