Open iduuck opened 9 years ago
Sounds interesting. I'm hesitant to add any deployment related stuff to the generator because deployments vary so much. But I'd be open to discussing a gh-pages deployment task, and maybe an AWS s3 deployment task. I've had success with gulp-awspublish. https://www.npmjs.com/package/gulp-awspublish
i think as of this, we could also add rsync. the user can choose, it would be not bad for some users.
Ok cool. Rsync is a good place to start.
For the options, maybe start with a question like:
"Would you like to add a deployment process?"
then go into the options.
I am currently working on a project, where I need to deploy an application (only frontend). I added gulp-rsync. But it also would be nice to have as much options as possible, if this is possible.
I am thinking of something like conditional prompts. When the user is answering that he wants extended options, he will be asked them, otherwise they will not be asked and all set to undefined.
How does that sounds?