Deploy successful with Error read /opt/buildhome/repo/build/layouts/docs is a directory - and site cannot be found

I’m setting up Pages on my website (GitHub - Axway/amplify-gateway: docs-as-code solution for Axway Amplify Gateway).

  • Framework: Hugo
  • Build command: ./ -n
  • Build output directory: /public
  • Path: (blank)

I finished configuration, deployment, and build settings, and although the deployment was successful, the log shows

08:20:19.722	[INFO]
08:20:19.780	Error: read /opt/buildhome/repo/build/layouts/docs: is a directory
08:20:19.785	Finished
08:20:19.786	Note: No functions dir at /functions found. Skipping.
08:20:19.786	Validating asset output directory
08:20:21.168	Deploying your site to Cloudflare's global network...
08:20:31.859	Success: Your site was deployed!

I don’t know what the Error: read /opt/buildhome/repo/build/layouts/docs: is a directory means.

Then, when I click Visit site ( I get This page can’t be found

Can you help?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.