Created
August 14, 2014 15:16
-
-
Save emirikol/340b55c38b726bb26e80 to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/ruby | |
env = ARGV.shift | |
files = ARGV.map {|f| f.sub(/^\//, '') }.join(',') | |
Kernel.exec "cap #{env} deploy:upload FILES=#{files} deploy:restart" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment