Grouping deploys of related services

We are hosting an API and webapp on railway. The API takes about 5 minutes longer to deploy, and results in downtime if there is a backwards incompatible change. Is there a way to link services, and to force one to wait for the other? So basically, when the webapp is ready to deploy, tell it to wait to replace the old version until the API finishes?
3 Replies
Percy
Percy4mo ago
Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.
Jack
Jack4mo ago
Would setting the heathcheck path of / or another healthcheck path on your API service suffice? It will wait for it to return status code 200 before using the new deployment.
Percy
Percy4mo ago
No project ID was provided. Closing thread.
Want results from more Discord servers?
Add your server