dploy icon indicating copy to clipboard operation
dploy copied to clipboard

Set paths for multiple sub-directories?

Open charlievaughan-zz opened this issue 10 years ago • 2 comments

What I would like to do is specify multiple sub-directories to deploy too, something like this:


path:
     local: 'app/design/frontend'
     remote: '/mydomain.com/html/app/design/frontend'
path:
     local: 'media'
     remote: '/mydomain.com/html/media'
path:
     local: 'skin/frontend'
     remote: '/mydomain.com/html/skin/frontend'

Although I originally thought this worked, I now realise only the last path works as each subsequent path specified overrides the last.

charlievaughan-zz avatar Jun 06 '15 22:06 charlievaughan-zz

I'm interested too if this is possible. Any ideas?

labo-css avatar Oct 01 '15 18:10 labo-css

It'd be cool for sure :)

Meanwhile, you can use Multiple Environments.

thing1:
    [...]
    path:
        local: "deploy1/"
        remote: "public_html/"

thing2:
   [...]
    path:
        local: "deploy2/"
        remote: "public_html/"

thing3:
    [...]
    path:
        local: "deploy3/"
        remote: "public_html/"

And deploy it like this:

dploy thing1 thing2 thing3

I guess it'd be necessary to repeat host, user and pass though.

diessica avatar Feb 19 '16 12:02 diessica