Deployment not triggering automatically with GitHub
carrickkv2
HOBBYOP

a month ago

I had a bad credentials issue a few hours ago. It resolved itself. Now, i have this issue also. Below is the conversation with the AI agent.

Done. New deployment triggered: ebacf71f-679b-4052-abc6-5751f2dfd13c

But the webhook issue needs to be fixed so you don't have to manually deploy every time. Check GitHub webhooks and let me know what you find.

No webhook there

That's the problem. The webhook was never recreated after you fixed the auth issue.

You need to reconnect the GitHub integration in Railway to regenerate the webhook:

  1. Go to your Railway project → Settings → Integrations
  2. Find GitHub and click Disconnect
  3. Wait a few seconds
  4. Click Connect and authorise again
  5. This will automatically create a new webhook in your GitHub repo

Once that's done, pushes to main will trigger deployments automatically.

Only integration I see is Vercel

Then the GitHub integration isn't connected at all. That's why there's no webhook.

You need to connect GitHub to Railway:

  1. Go to your Railway project → Settings → Integrations
  2. Click Add Integration or Connect GitHub
  3. Authorise Railway to access your GitHub account
  4. Select the Ayko-Technologies/FaithBridgeCentral repo
  5. This will create the webhook automatically

After that, pushes to main will trigger deployments.

There is no add integration

Then you need to go to your Railway account settings (not project settings):

  1. Click your profile icon (top right) → Account Settings
  2. Go to Integrations
  3. Connect GitHub there
  4. Then come back to your project and the GitHub integration should be available

Alternatively, try going directly to: https://railway.com/account/integrations

Done. But how do I know it will work?

Push a small change to main and watch your Railway dashboard. If a new deployment starts automatically within a few seconds, the webhook is working.

You can also verify it was created:

  1. Go to your GitHub repo → Settings → Webhooks
  2. You should see a Railway webhook there now
  3. Click it and check the recent deliveries—they should show successful (green checkmarks)

If you push and nothing happens after 30 seconds, the webhook still isn't firing. Let me know and we'll debug further.

$10 Bounty

2 Replies

Railway
BOT

a month ago

The GitHub repo connection for auto-deploys is configured per service, not at the project level. Go to your service's Settings tab and under the Source section, connect your GitHub repo and select the branch you want to trigger deployments from. You can verify it's working by pushing a commit and checking if a new deployment appears, or by looking for a webhook under your GitHub repo's Settings > Webhooks.


Status changed to Awaiting User Response Railway about 1 month ago


Status changed to Awaiting Railway Response Railway about 1 month ago


Railway

The GitHub repo connection for auto-deploys is configured per service, not at the project level. Go to your service's **Settings** tab and under the **Source** section, connect your GitHub repo and select the branch you want to trigger deployments from. You can verify it's working by pushing a commit and checking if a new deployment appears, or by looking for a webhook under your GitHub repo's Settings > Webhooks.

carrickkv2
HOBBYOP

a month ago

This has already been done and was done multiple times.


Status changed to Open Railway about 1 month ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...