Project outside GitHub
cicerorph
HOBBYOP

2 months ago

I have my own Git instance for my projects, am I able to connect my repo through there?

$10 Bounty

2 Replies

2 months ago

Not directly, but you can use the Railway CLI and CI/CD to achieve the same thing pretty trivially:

https://docs.railway.com/cli/up#cicd-mode

If you're using Gitea, you can just add an action that builds your project, runs railway up --ci and then returns. Can have it spin up PR environments with a few lines of code in the same way 🙂

If it's another provider, you'll just have to use their version of Actions or some other CI/CD tooling


2 months ago

Here's a better example of this from the docs:

https://docs.railway.com/cli/deploying#cicd-integration


Welcome!

Sign in to your Railway account to join the conversation.

Loading...