dploy
dploy copied to clipboard
Set paths for multiple sub-directories?
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.
I'm interested too if this is possible. Any ideas?
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.