To do certain action after deployment

62 views Asked by At

I am using capifony (it is capistrano for symfony) to deply.

I have to do some work after deployment such as changing access rights for some directories.

chmod 0777 test

For now I am doing this by manual operation.

Could I include this in my capifony deploy.rb?

1

There are 1 answers

0
Joe On BEST ANSWER

Im not sure about capifony but if you put something like after 'deploy', 'sometask' in your capistrano deploy.rb file it is ran after deploy.

Here is the list of all the Capistrano deployment tasks. You can do a before or after for any of them.

Looks like this answer might help you.