Error - unable to execute the job - failed at 'Run Hugo'

Hello,
I am very new to CI and Hugo and am trying to step up CI from my Hugo project to CircleCI but I am getting the following error:

#!/bin/bash -eo pipefail
HUGO_ENV=production hugo -v -s public/
Error: Unable to locate Config file. Perhaps you need to create a new site.
       Run `hugo help new` for details.

Exited with code 255

Here is the my GitHub project

What is puzzling me this that the Configuration in Circle.ci is not reflecting the most current push to GitHub. So it is building an older version!
Would anyone like to offer any help? I would really appreciate it.

Best,
Ben

What branch did you push on, and what branch is it building?

Yes. thanks @halfer
It was the master branch. (the only one I have)
So changes are getting pushed to GitHub but not to Circle.ci.?

Cheers,
Ben

Maybe try to remove the filters temporarily to see if that is affecting it?

hello @halfer,

Thanks for replying. Sorry, where can I find the filters? is that is GitHub?

Cheers,
Ben

Yes, it’s in your config - see here.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.