Can we use amplify to deploy strapi

I would like to deploy Strapi using aws amplify, but it appears to get stuck after the post-build command. Could you please let me know if can deploy Strapi using aws amplify?

.yml
version: 1
frontend:
phases:
preBuild:
commands:
- npm install
build:
commands:
- npm run build
postBuild:
commands:
- npm run start
artifacts:
baseDirectory: build
files:
- '/*’
cache:
paths:
- node_modules/
/*

System Information
  • Strapi Version: v4.12.4
  • Database: postgres
  • Node Version: v16.14.2
  • NPM Version: v9.8.1
  • Yarn Version:

1 Like