Cannot find dist subdirectory when building subfolder in docs subdir
I have my documentation in the
docs
as a subfolder of my repo, rather than having a separate docs repo. I'm using a static astro docs site.
On the cloudflare site under "Configure automatic builds and deployments", I tried using:
Build output directory: /dist
Root directory path: /docs
in that case, it builds the docs, but then gives an error:
If I then change it to:
Build output directory: /docs/dist
Root directory path: /docs
I get:
I'd rather keep the docs in the repo instead of moving to a separate repo. Any suggestions on what settings to use for "Build output directory" and "Root directory path" when the docs are in the docs subfolder of a repo?0 Replies