Approve deployment via CLI
adamalfredsson
HOBBYOP

a year ago

Is it possible to approve a deployment using the Railway CLI? Alternatively, can I use a Railway access token to manage deployment approvals? Thanks!

5 Replies

brody
EMPLOYEE

a year ago

Hello, it's not possible at this time, what would the use case be?


adamalfredsson
HOBBYOP

a year ago

I want automatic deployments triggered on branch deploy. This is no longer possible due to the recent deployment approval feature, without inviting every collaborator to the Railway project (which is not feasible in out situation). I'm hoping to circumvent this by approving deployments with a script, e.g. a Github action using Railway CLI to approve any pending deployment requests. (Ideally I'd like to disable the deployment approval feature altogether, but I understand there are no current plans for allowing this)


brody
EMPLOYEE

a year ago

Yep you are right, there are no current plans to allow users to disable this security feature, and similarly there are no current plans to allow it to be circumvented in such a way.


adamalfredsson
HOBBYOP

a year ago

Okay. Does deployment with railway up require approval? Thanks


brody
EMPLOYEE

a year ago

It does not, but it should be made to require approval, good catch!


Loading...