Skip to content

Add Railway deployment config + CI/CD#208

Open
lustsazeus-lab wants to merge 1 commit intolangoustine69:mainfrom
lustsazeus-lab:railway-deploy
Open

Add Railway deployment config + CI/CD#208
lustsazeus-lab wants to merge 1 commit intolangoustine69:mainfrom
lustsazeus-lab:railway-deploy

Conversation

@lustsazeus-lab
Copy link

Summary

Adds Railway deployment configuration and CI/CD pipeline as requested in issue #4.

Changes

  • Dockerfile: Multi-stage build with Bun runtime and health check
  • railway.json: Railway deployment configuration with health checks
  • .env.example: Environment variable documentation
  • DEPLOY.md: Step-by-step deployment guide
  • .github/workflows/ci.yml: GitHub Actions CI pipeline
  • scripts/smoke-test.sh: Post-deploy smoke test script

Testing

  • CI runs bun install v1.3.10 (30e609e0)
  • @types/bun@1.3.9

4 packages installed [658.00ms], bun test v1.3.10 (30e609e0), and type check on push/PR

  • Smoke test verifies /health returns 200, /v1/search returns 402 without payment, and x402 headers are present

Bounty

This resolves the USDC bounty for Railway deploy config + CI/CD.

- Dockerfile with health check
- railway.json for Railway deployment
- .env.example with required variables
- DEPLOY.md with step-by-step deployment guide
- .github/workflows/ci.yml for GitHub Actions
- scripts/smoke-test.sh for post-deploy testing
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.

1 participant