Rpj
Rpj

Reputation: 6110

How to add pre-requisites for a certain capistrano task

I would like to add cap deploy:setup as a pre-requisite for cap deploy task. How should I do this.

Upvotes: 0

Views: 37

Answers (1)

Chris Aitchison
Chris Aitchison

Reputation: 4654

Add the following line to your deploy.rb

before 'deploy:update', 'deploy:setup'

Upvotes: 2

Related Questions