unic / estatico

[DEPRECATED] Estático – Static site generator for frontend unicorns
Other
121 stars 18 forks source link

add publish task #69

Closed yannisgu closed 7 years ago

yannisgu commented 7 years ago

added a new task to allow publishing the assets directly to a location outside the frontend repo. Again this is useful for backend developers which want to publish the assets directly to their "web-root" (or whatever it is called in the respective technology). The publish task do nothing, except you set the --publishDest parameter on the command line.

@backflip What do you thing about this one - is this something which should go into estatico, or is this too project-sepecific?

backflip commented 7 years ago

Yes, I think it's a bit too specific. However, we're discussing separating this repo into multiple packages anyway, so this task would just be another gulp task installed along the lines of npm i estatico-publish and configured appropriately.

Okay if we only add this to the Sitecore repo for now?

yannisgu commented 7 years ago

Ok 👍

Looking forward for the modular estatico :)

yannisgu commented 7 years ago

For the record: The Drupal feature branch contains something very simlar: https://github.com/unic/estatico/blob/feature/drupal/gulp/move.js We should definitely work together to achieve a standard solution!