drone-plugins / drone-hugo

Drone plugin to publish Hugo generated websites
https://plugins.drone.io/plugins/hugo
Apache License 2.0
29 stars 20 forks source link

Add post-build script #6

Closed vbrandl closed 6 years ago

vbrandl commented 6 years ago

I like to compress my hugo output ahead of time to prevent the webserver from compressing the files on the fly on each request.

I do this using a Makefile. It would be cool to have a parameter for this plugin to execute custom commands after the hugo build has finished.

tboerger commented 6 years ago

Really no need to integrate that into the Hugo plugin, just add another step to your drone pipeline.

vbrandl commented 6 years ago

Oh yeah, you are right. That's actually the nicer way. Thanks.