I have a problem to host Hugo on Amazon Amplify.
I always get:
“Error: Unable to locate config file or config directory. Perhaps you need to create a new site.”
My Amazon Build is here:
version: 1
frontend:
phases:
# IMPORTANT - Please verify your build commands
build:
commands: ['cd Solar','hugo']
artifacts:
# IMPORTANT - Please verify your build output directory
baseDirectory: "/Solar/public"
files:
- '**/*'
cache:
paths: []