Skip to content

Conversation

Copy link

Copilot AI commented Jan 5, 2026

Enables one-click deployment to Railway and Vercel for serverless-capable examples. Cloudflare Workers examples excluded per requirements.

Changes

Infrastructure

  • Added deployTemplate field to example metadata schema with railway and vercel options
  • Extended build script to generate deployment metadata in registry

Examples Updated

  • Railway (9): node, express, hono, hono-bun, elysia, deno, custom-serverless, trpc, drizzle
  • Vercel (1): next-js

Website

  • Conditional deploy buttons on template pages based on deployTemplate field
  • DeployDropdown shows when quick-deploy options available

Documentation

  • Example submission guide updated with deployTemplate usage
  • Deployment sections added to key example READMEs with environment variables (RIVET_ENDPOINT, RIVET_NAMESPACE, RIVET_RUNNER_TOKEN)

Example

{
  "template": {
    "technologies": ["typescript", "hono"],
    "tags": ["starter"],
    "deployTemplate": {
      "railway": true
    }
  }
}

Generates deploy button on template page:

{template.deployTemplate?.railway && (
  <Link href={`https://railway.app/new/template?template=...`}>
    Deploy to Railway
  </Link>
)}

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@linear
Copy link

linear bot commented Jan 5, 2026

@vercel
Copy link

vercel bot commented Jan 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
rivet-site Ready Ready Preview, Comment Jan 5, 2026 5:44pm
3 Skipped Deployments
Project Deployment Review Updated (UTC)
rivet-cloud Ignored Ignored Jan 5, 2026 5:44pm
rivet-inspector Ignored Ignored Preview Jan 5, 2026 5:44pm
rivetkit-serverless Skipped Skipped Jan 5, 2026 5:44pm

@vercel vercel bot temporarily deployed to Preview – rivetkit-serverless January 5, 2026 17:24 Inactive
@vercel vercel bot temporarily deployed to Preview – rivetkit-serverless January 5, 2026 17:39 Inactive
@vercel vercel bot temporarily deployed to Preview – rivetkit-serverless January 5, 2026 17:40 Inactive
Copilot AI changed the title [WIP] Add deploy template for serverless examples Add deploy template support for serverless examples (FRONT-908) Jan 5, 2026
Copilot AI requested a review from jog1t January 5, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants