scttnlsn / dandelion

Incremental Git repository deployment.
http://scttnlsn.github.io/dandelion
MIT License
738 stars 60 forks source link

Deployment path question #141

Closed medinlu closed 8 years ago

medinlu commented 8 years ago

I have a git folder structure like this:

A gulp task copies some files from src to dist, but my git repo is on the root as you can see.

I want to deploy only the files inside dist folder to the root on my server, but I can't figure out how to do it. I'm trying this option inside the dandelion.yml

path_map:

But I'm still getting the same on the server. A folder called dist is created.

My current solution is a second git repository inside the dist folder with another dandelion.yml, but I think this shouldn't be necessary, and is not really an elegant solution because I will have conflicts with my current gulp tasks.

Any idea to solve this?

Thanks!

scttnlsn commented 8 years ago

path_map is not currently implemented (just discussed in https://github.com/scttnlsn/dandelion/issues/95).

You should currently be able to specify local_path: dist and path: /

medinlu commented 8 years ago

Cheers man, Thanks.