i’m just getting started using switchtower for deployment. i’m working
with a small team of 3 and a hosted subversion repository.
i have switchtower working, but i need to create two custom tasks and
have those tasks run at deployment. 1) copy a working dispatch.fcgi
from another folder, and 2) copy db/database.example to
here is what i’ve tried, inside of deploy.rb:
desc “copy another dispatch.fcgi, which gets deleted”
task :cp_dispatch_fcgi do
desc “copy database.example to database.yaml”
task :cp_database_yaml do
“/path/to/current/db/database.yml”, :mode => 0444)
task :deploy do
i may be going about this all wrong, so any help would be appreciated.
thanks in advance, ian