version: 1 frontend: phases: preBuild: commands: - yarn install build: commands: - env | grep -e ACCESS_KEY_ID -e SECRET_ACCESS_KEY >> .env.production - yarn run build artifacts: baseDirectory: .next files: - '**/*' cache: paths: - node_modules/**/*