lucasmotta / dploy

⛔️ currently unmaintained ⛔️
http://lucasmotta.github.io/dploy/
MIT License
990 stars 90 forks source link

Set paths for multiple sub-directories? #80

Open charlievaughan-zz opened 9 years ago

charlievaughan-zz commented 9 years ago

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.

labo-css commented 9 years ago

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

diessica commented 8 years ago

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.