Skip to content

Instantly share code, notes, and snippets.

@shmurakami
Created December 2, 2015 15:17
Show Gist options
  • Save shmurakami/cb0a6906f701ef8ab815 to your computer and use it in GitHub Desktop.
Save shmurakami/cb0a6906f701ef8ab815 to your computer and use it in GitHub Desktop.
namespace :rsync do
# stage is reseting til remote origin
after :stage, :foobar do
system "cd #{fetch(:rsync_src)} && touch foobar"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment