21 days ago
I have 2 branches on my repo that I use for business
The branch main is the default branch and api is hosted on railway for business operations
Since api is not a default branch and I'd still like the option to deploy latest commit is that possible?
e.g
- Have the branch connected to api
- But only deploy changes when I run deploy latest commit on it
1 Replies
21 days ago
Currently, "Deploy Latest Commit" via the Command Palette only deploys from the default branch in GitHub. There's no way to manually trigger a deploy from a non-default branch like api without it being connected for auto-deploys.
Your options are to either connect the api branch (which will auto-deploy on commits), or keep it disconnected and manage deployments another way, such as using the Railway CLI to deploy manually from whichever branch you're on locally.
Status changed to Awaiting User Response Railway • 21 days ago
14 days ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 14 days ago