I needed a content-oriented site with solely static content for a little project I'm working on, so Hugo was an obvious choice. I looked into using AWS Amplify to host it, But the default amplify.yml not working for me and can't find the correct build file, I have modified the amplify.yml to build the Hugo cms.
Hope this is helpful, Please comment.
version: 1
frontend:
phases:
build:
commands:
- npm install
- npm run build:webpack && npm run build:hugo
artifacts:
baseDirectory: dist
files:
- '**/*'
cache:
paths: []
Comments
Post a Comment