Created
May 5, 2011 23:09
-
-
Save rnmp/958164 to your computer and use it in GitHub Desktop.
:rsync Rakefile
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
require 'nanoc3/tasks' | |
user = "[email protected]" | |
server = "acualicio.us" | |
path = "/nfs/c05/h01/mnt/70722/users/.home/domains/acualicio.us/" | |
# message = "changed on" + Time.now.localtime.strftime("%Y-%m-%d") | |
task :sync do | |
system "rsync -vru --exclude='.DS_Store' html #{user}@#{server}:#{path}" | |
end | |
# task :commit do | |
# system "git add ." | |
# system "git commit -m '#{message}'" | |
# system "git push origin master" | |
# end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment