Last active
December 17, 2015 04:18
-
-
Save invalidusrname/5549241 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| role :app, "app4" | |
| role :web, "proxy" | |
| after "deploy:assets:precompile", "assets:copy_manifest_file" | |
| namespace :assets do | |
| task :copy_manifest_file, :roles => :web, :except => { :no_release => true } do | |
| app_servers = find_servers :roles => :app | |
| app_servers.each do |app_server| do | |
| run `scp #{release_path}/public/manifests.yml #{user}@#{app_server}:#{release_path}/public/` | |
| end | |
| end | |
| end | |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What you know about asset compilation?