Add npm run build to Fortrabbit deploy process

173 views Asked by At

Using Fortrabbit to deploy a PHP app which uses a node project for the front end. Is there any way in which I can add npm run build to the deploy process instead of having to always build first manually and then deploying it through Fortrabbit?

(There is a fortrabbit.yaml file on the fortrabbit site that needs to be configured for every fortrabbit app but the example doesn't show how we can add that command in the deployment pipeline.)

1

There are 1 answers

4
Frank Lämmer On

Sorry. There is no way to run Node JS during deployment on fortrabbit yet.