ArjenSchwarz / wercker-step-hugo-build

Wercker Step for building Hugo sites
45 stars 19 forks source link

--config not working in flags #4

Closed Fale closed 9 years ago

Fale commented 9 years ago

Hi, adding --config=CONFIG in the flags field (like https://github.com/Fale/fale.github.io/blob/import/wercker.yml) does not work. My guess is that is a problem of paths

ArjenSchwarz commented 9 years ago

I'll have a look at this, as it should work. Thanks for letting me know

Fale commented 9 years ago

My understanding is that the config file should be passed as:

--config=${WERCKER_SOURCE_DIR}/CONFIG_FILE

Thought, I'm not sure how to test it :(

ArjenSchwarz commented 9 years ago

Hi @Fale, you were right about the syntax and I've changed the step so you can now provide a config flag in the wercker.yml file. This is explained in the README file, and a working example can be found on https://github.com/ArjenSchwarz/hugo-wercker-example.

Thanks for pointing out the problem, and I hope you can now use the step for your site.