dopedoxygen wrote:
Hi,

I have a repository with 4 different projects. Can I deploy all of
these one by one. I want the script to be something like this.

1> On running cap deploy:php it should ask me for number of projects
that are to be deployed.

2> Say if the number=2 it should ask me for the project which needs to
be deployed.

3> So, the first run deploys the code from /myrepos/proj1 to
deploy_to_path1 and  the second run deploys the code from /myrepos/
proj2 to deploy_to_path2

I would basically want to run a for loop

for (x=1,x<=$count,x++) where count is the number of projects I wish
to deploy

Can this be done? Any help in this regard would be appreciated.

Hi,

If you can deploy every project one by one, you only need to write an script (with bash, php, ruby,...) that ask for a number, move between paths as you want and execute "cap deploy".

Regards


--
Rafa

--
* 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