Vendor hugo modules into _vendor/ before building the page in release
mode (i.e. with hugo).
Reportedly, hugo tends to fail with odd errors along the lines of
"Permission denied" when trying to build the site, due to some weird
file permissions on the (elsewhere) vendored module files.
Testing has concluded that running hugo mod vendor before building the
page fixes this issue as far as I can tell. Adjust the build
instructions in the README.md file to reflect this oddity.
Closes botlabs-gg/yagpdb-docs-v2#6 ("Fix Hugo Builds For Good").
Vendor hugo modules into
_vendor/
before building the page in release mode (i.e. withhugo
).Reportedly, hugo tends to fail with odd errors along the lines of "Permission denied" when trying to build the site, due to some weird file permissions on the (elsewhere) vendored module files.
Testing has concluded that running
hugo mod vendor
before building the page fixes this issue as far as I can tell. Adjust the build instructions in the README.md file to reflect this oddity.Closes botlabs-gg/yagpdb-docs-v2#6 ("Fix Hugo Builds For Good").
Signed-off-by: Luca Zeuch l-zeuch@email.de