Now in Beta

Deploy every
pull request.
Automatically.

Open a PR, get a preview URL. Push commits, auto-redeploy. Merge or close, auto-cleanup. The entire preview lifecycle, driven by GitHub webhooks.

GitHub Webhooks / Docker Containers / DigitalOcean / Automatic SSL
deployment — pr-142

1 14:02:11 [build] INFO Cloning feature/checkout @ 84f02d1

2 14:02:12 [build] INFO Detected Procfile.preview

3 14:02:14 [build] INFO Building Docker image…

4 14:02:28 [build] INFO ████████████████████ Image built

5 14:02:30 [deploy] INFO Starting containers (web, worker)

6 14:02:33 [deploy] INFO web: listening on :3000

7 14:02:35 [health_check] INFO GET /up → 200 OK (23ms)

8 14:02:35 [deploy] INFO https://pr-142.railsdeploy.app

How It Works

Four steps. Zero config.

01

Connect GitHub

Link your repository and authorize webhook access. RailsDeploy adds a deploy key and starts listening for PR events.

02

Open a Pull Request

A GitHub webhook fires. RailsDeploy provisions a droplet, builds a Docker image from your Procfile.preview, and deploys it.

03

Push & Iterate

Every push to the PR branch triggers an automatic redeploy. Reviewers always see the latest code at the same preview URL.

04

Merge & Cleanup

When the PR closes, RailsDeploy destroys the preview server and releases all resources. Nothing lingers.

Capabilities

Everything you need for preview deploys

Each feature maps to real product behavior. No vaporware.

01

GitHub Source Connection

Connect your GitHub account, browse repositories, and import them with a single click. Deploy keys and webhooks are configured automatically.

02

PR Webhook Automation

Handles pull_request opened, synchronize, and closed events to create, redeploy, and destroy preview environments without any manual steps.

03

MCP Server Integration

Connect RailsDeploy to AI coding agents like Claude Code via the Model Context Protocol. Manage deployments, stream logs, and check status without leaving your editor.

04

Build & Server Logs

Stream build output and runtime server logs in the dashboard. Download full logs for debugging. Real-time tail via SSE.

05

Cloud Provisioning

Choose DigitalOcean region and droplet size. RailsDeploy manages server pools, port allocation, and Caddy reverse-proxy configuration.

06

Environment Variables

Set app-level defaults and deployment-level overrides. Secrets are encrypted at rest with Rails encrypted attributes.

New Feature

Idle Auto-Sleep & Instant Wake

Preview deployments that sit idle automatically sleep to save resources. When someone visits, they wake back up instantly. Zero manual intervention.

The Sleep/Wake Cycle

Fully automatic. No buttons to click.

Preview is running

RailsDeploy monitors web traffic to each deployment via Caddy access logs.

No requests for 30 min (configurable)

Auto-sleeps to save resources

Containers stop gracefully. The server stays allocated so wake-up is fast.

Visitor hits the preview URL

Wakes up automatically

A branded loading page appears while containers restart, then redirects to your app.

auto-sleep — pr-142

1 14:02:35 [deploy] INFO Live at https://pr-142.railsdeploy.app

2 14:32:00 [deploy] WARN No web traffic for 30m

3 14:32:01 [deploy] INFO Stopping containers…

4 14:32:04 [deploy] INFO Deployment stopped

 

5 16:45:12 [deploy] INFO Incoming request — waking deployment

6 16:45:13 [deploy] INFO Restarting containers…

7 16:45:18 [health_check] INFO GET /up → 200 OK

8 16:45:18 [deploy] INFO Back online

Configurable

Set timeouts from 5 minutes to 24 hours. Configure per-repo defaults or per-deployment overrides.

Smart Detection

Health checks and internal routes are filtered out. Only real user traffic keeps a deployment awake.

Branded Wake Page

Visitors see a clean loading screen while your app restarts, then auto-redirect when ready.

Save Money

Idle previews cost nothing. Resources are freed while sleeping and reclaimed on demand.

Integrations

Connects to tools you already use

RailsDeploy plugs into your existing GitHub and DigitalOcean workflow. More cloud providers and source platforms on the way.

GitHub

Available now

OAuth sign-in, repository import, webhook automation for PR events, deploy key management, and commit status updates.

OAuth Webhooks Deploy Keys Commit Status

DigitalOcean

Available now

OAuth credential flow, droplet provisioning across all regions, automatic server pool management, and resource cleanup on PR close.

OAuth Droplets Regions Auto-cleanup
+

More integrations coming soon

More cloud providers and source platforms on the roadmap.

In Development
In Action

What you see in the dashboard

Preview Deployments

Active PR environments for acme/web.

Branch Status Commit Preview URL Deployed
feature/checkout running 84f02d1 pr-142.railsdeploy.app 2 min ago
feature/payments deploying 52e1037 - just now
feature/search stopped bb8ea70 - 1 hour ago

Build Logs

Real-time streaming output from deploy pipeline.

1 14:02:18 [build] INFO Cloning feature/checkout @ 84f02d1

2 14:02:19 [build] INFO Detected Procfile.preview: web, worker

3 14:02:33 [deploy] INFO Live at https://pr-142.railsdeploy.app

4 14:03:06 [health_check] INFO GET /up → 200 OK

5 14:05:12 [build] INFO Rebuilding @ commit a3f9e21

6 14:05:28 [deploy] INFO Redeployed successfully

Streaming build logs...
Pricing

Simple, transparent pricing

Start free, upgrade when you need more. All plans include automatic SSL, PR webhooks, and build logs.

Free

$0 /mo
  • 1 servers
  • 1 repositories
  • 2 concurrent deploys
  • 1 team members

Hobby

$9 /mo
  • 2 servers
  • 3 repositories
  • 6 concurrent deploys
  • 1 team members
Recommended

Pro

$29 /mo
  • Unlimited servers
  • Unlimited repositories
  • Unlimited concurrent deploys
  • 5 team members

Team

$49 /mo

+ $10/seat/mo

  • Unlimited servers
  • Unlimited repositories
  • Unlimited concurrent deploys
  • Unlimited team members

Ship PRs to staging
in under a minute.

Give every pull request a live preview URL. No Kubernetes, no YAML, no waiting.