I’m using Hugo to create multiple sites from the same project. So, I’m trying to deploy each site as a seperate Netlify site but I can’t get it to deploy right. I keep getting build errors or a “Page not Found” error. I’ve been looking around and it seems like other people have tried to do this but I can’t seem to figure it out. My structure looks like this:
└── hugo-multisite-project/
├── assets
├── layouts
├── sites/
│ ├── websiteA/
│ │ ├── content
│ │ ├── public
│ │ ├── config.toml
│ │ └── netlify.toml
│ └── websiteB/
│ ├── content
│ ├── public
│ ├── config.toml
│ └── netlify.toml
├── static
└── package.json
What’s the best way to accomplish what I’m trying to do? Also, is it best to treat each site as a separate Netlify site or is it possible to deploy them from the same Netlify site but with different domain names?