Skip to content

Commit

Permalink
Adding deploy hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
winton committed Oct 11, 2011
1 parent 88f6383 commit 8bd5277
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.DS_Store
redis_parse
redis_parse.o
4 changes: 4 additions & 0 deletions deploy/before_migrate.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if node['instance_role'].include?('util')
run "cd #{latest_release} && make"
run "chmod +x #{latest_release}/redis_parse"
end

0 comments on commit 8bd5277

Please sign in to comment.