Chaining release_commands for Node.js. app

If you want to chain commands, run bash:

release_command = "bash -c 'npx prisma migrate dev && node dist/seeds/seeds.js'"

As an alternative, add a “release” script in your “package.json” and run it:

release_command = "yarn run release"

If you shell in, you can find node at /root/.volta/bin. Try running:

export PATH=/root/.volta/bin:$PATH
2 Likes