Programatically triggering a deployment
idiegonl
PROOP

10 months ago

I'm wondering if it's possible to trigger a deployment programatically through a webhook or API request? I saw that you have webhooks, but only outgoing, and not incoming.

Also quickly read through your public API, but I didn't find an endpoint to start a new deployment.

Loving your platform so far! Upgraded to Pro today.

Solved

12 Replies

idiegonl
PROOP

10 months ago

0c0b9498-c6cd-483b-ae9a-5a6a330b3bc8


10 months ago


idiegonl
PROOP

10 months ago

Hey, like I said in the original post:

Also quickly read through your public API, but I didn't find an endpoint to start a new deployment.


10 months ago

Some example code -


10 months ago

It's through mutations using GraphQL, there's a playground here https://railway.com/graphiql


idiegonl
PROOP

10 months ago

that's helpful, ty :)


idiegonl
PROOP

10 months ago

not sure if you're aware, but your responses are super unhelpful 😅


10 months ago

In Medim's defense, everything you needed was in the link he provided.

1395800994805321898


10 months ago

Sorry, I just didn't have any code example.. I thought the Public API guide was enough since it shows how you can do said requests and the playground shows you all the available mutations.


10 months ago

The bottleneck here was the quick-read aspect of your approach to trying to find your answer.


idiegonl
PROOP

10 months ago

I haven't used GraphQL since 2021, I tried searching for the keyword "deploy" in the playground before opening a thread but roughly 50 results pop up 🙂

Was just looking for which specific mutation to use 😉


10 months ago

!s


Status changed to Solved brody 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...