awslabs / amazon-app-runner-deploy

Registers an AWS AppRunner Service and deploys the application using the source code of a given GitHub repository. Supports both source code and Docker image based service
MIT No Attribution
49 stars 32 forks source link

Can't Run Multiple Commands Under "Build command" Config? #51

Open pihish opened 6 months ago

pihish commented 6 months ago

I have the following in my package.json file:

"scripts": {
    "migrate": "knex migrate:latest"
},

Running npm run migrate works fine on my local machine. When I try to add this command onto my existing build command:

1

App Runner always gives an error and rolls back my change:

2

Does App Runner not support multiple build commands?

andreas-bergstrom commented 6 months ago

You should probably use the App Runner repo for this question