You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of Hugo are you using (hugo version)?
0.63.1
Does this issue reproduce with the latest release?
Yes. It also occurs at 0.59.0
Hi All,
I am trying to configure the hugo deploy command on my site. The content, layout and site files are under the root site/ directory. When running hugo deploy -s site I get the error:
Unable to locate config file or config directory. Perhaps you need to create a new site.
However, when I run hugo server -s site, all works and the server fires up, finding the correct config file.
It seems that the regular hugo global flags are not working with the hugo deploy command. If I cd into the site/ folder, the hugo deploy command will work. This is not ideal, however as I need to run the hugo deploy command from the root folder.
Also, I am not able to specificy the output folder for the hugo deploy command. I can't do hugo deploy -d dist for example, which is what the built folder is called in our case.
What version of Hugo are you using (
hugo version
)?0.63.1
Does this issue reproduce with the latest release?
Yes. It also occurs at
0.59.0
Hi All,
I am trying to configure the
hugo deploy
command on my site. The content, layout and site files are under the rootsite/
directory. When runninghugo deploy -s site
I get the error:However, when I run
hugo server -s site
, all works and the server fires up, finding the correct config file.It seems that the regular hugo global flags are not working with the
hugo deploy
command. If Icd
into thesite/
folder, thehugo deploy
command will work. This is not ideal, however as I need to run the hugo deploy command from the root folder.Also, I am not able to specificy the output folder for the
hugo deploy
command. I can't dohugo deploy -d dist
for example, which is what the built folder is called in our case.I've created a test repo: https://github.com/zbayoff/quickstart
Thank you.
The text was updated successfully, but these errors were encountered: