Dear members.

I'm newbie Capistrano.

I would like to do like the following.
Could you tell me how to add my custom task (number 2)??

* I would like to do like the following.

  1, fetch main project from [email protected]:main_project.git
   to local machine #{local_destination}
  2, copy additional files into #{local_destionation}/config/
my_config_files.txt
    from [email protected]:configirations.git
  3, copy it to application server

* my current deploy.rb

  set :application, "myapp"
  set :repository,  "[email protected]:main_project.git"
  set :deploy_via, :copy

  set :scm, :git
  role :web, "webserver"
  role :app, "appserver"
  role :db,  "dbserver", :primary => true

  set :deploy_to, "/tmp/hogehoge"

* my custom task example

  I would like to hook after fetch main project. like this

  after "fetch git clone main_project.git" do
   Dir.chdir #{local_destination}

   execute my custom task.

  end

Sincerely.

--
Hiroyuki Sato.

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to