drone-hugo
drone-hugo copied to clipboard
Add node to Dockerfile
I have already tried it on discourse, see here.
The Dockerfile additionally needs node, as there are some pipes used by hugo which require node, e.g. postcss. Does not work by adding another step to the pipeline, as hugo is needing it specifically.
Than it got to be added to all Dockerfiles
Looks like it is available for all used platforms. https://nodejs.org/de/download/
Okay, tried to fiddle a bit on my own. Looks like additionally, before executing hugo, the npm packages need to be installed (e.g. see this). This would require additional changes in the go files in this repo. Maybe I can take a look in the future.
Hello, @mlthlschr, maybe it's already possible to connect babel/cli for HUGO?
Hi @igramnet, I am not using drone anymore. I am using a different CI now with my own dockerfile, based on alpine/latest. I added nodejs, npm, hugo and that's it. Maybe you can try to implement something like that for your drone
I saw your question on drone.io and assumed you figured it out. Of course, I wanted to implement something at the drone. @tboerger, can u help me?