Trigger a deployment after service creation
hugoroussel
PROOP

a year ago

I use the mutation serviceCreate to create a new service (linked to a monorepo). The service I want to start is a simple node express server.

I want to then create a deployment on it via the API as well but I don't know which endpoint to use. Does the endpoint exists or did I just not find it?

Solved

2 Replies

brody
EMPLOYEE

a year ago

serviceCreate will trigger a deployment as long as you specify the branch to use.

No need to call another mutation.


Status changed to Awaiting User Response Railway 12 months ago


brody

serviceCreate will trigger a deployment as long as you specify the branch to use.No need to call another mutation.

hugoroussel
PROOP

a year ago

Thanks a ton Brody
Can you specify the root directory as well?


Status changed to Awaiting Railway Response Railway 12 months ago


Status changed to Solved angelo-railway 12 months ago


Loading...