I am currently trying out hugo to build our CICD for our Documentation Team.
When building hugo with the option --destination, it creates the directory multiple times.
This hangs
hugo -b http://localhost:1313/docs/v1/ --destination static/docs/v1/
Start building sites …
hugo v0.125.7-b1d808bc373f53ad37c8966bb02a6aea095db5f8+extended windows/amd64 BuildDate=2024-05-08T14:46:24Z VendorInfo=gohugoio
When i check ./static/docs/v1/, it created multiple directories of docs/v1/ inside static/docs/v1/
ls -l static/docs/v1/docs/v1/docs/v1/docs/v1/docs/v1/docs/v1/docs/v1/docs/v1/docs/v1/docs/v1/docs/v1/docs/
this goes on until it crashes with an error of file name too long.