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
There is a misalignment between --source option (which is relative to current working directory) and --destination, which is relatively to --source for some reason.
This results in confusing behavior where running build from root of the repo looks like this:
hugo --source website/main --destination ../../gh-pages
This is completely unexpected and should work like this instead:
hugo --source website/main --destination gh-pages
What version of Hugo are you using (hugo version)?
$ hugo version
hugo v0.123.7+extended linux/amd64 BuildDate=2024-11-06T01:07:23Z VendorInfo=ubuntu:0.123.7-1ubuntu0.2
Does this issue reproduce with the latest release?
Probably not, at least I have not seen anything relevant in changelog
The text was updated successfully, but these errors were encountered:
This is completely unexpected and should work like this instead:
I think this is the first time I have heard about this being an issue, so maybe ... expectations differ? Anyhow, I don't think we can change this behaviour. That said, I'm pretty sure you can do:
hugo --source /foo/baz/website/main --destination /foo/bar/gh-pages
There is a misalignment between
--source
option (which is relative to current working directory) and--destination
, which is relatively to--source
for some reason.This results in confusing behavior where running build from root of the repo looks like this:
This is completely unexpected and should work like this instead:
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Probably not, at least I have not seen anything relevant in changelog
The text was updated successfully, but these errors were encountered: