# Deploy

> Deploy the cloud worker to Railway. Builds and pushes the latest code. Use when this capability is needed.

- Skill: `tomevault-io/deploy-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/deploy-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/deploy-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/deploy-2

---


# Deploy to Railway

Deploy the golems cloud worker to Railway.

## Process

1. Verify we're on a clean git state (no uncommitted changes)
2. Run tests: `bun test` — must pass
3. Push current branch to remote
4. Trigger Railway deployment: `railway up` or git-based deploy
5. Monitor deployment logs: `railway logs --follow`
6. Verify health endpoint: `curl https://golems-production.up.railway.app/`
7. Report deployment status

## Environment

- **Railway URL**: `golems-production.up.railway.app`
- **Entry point**: `packages/services/src/cloud-worker.ts`
- **Required env vars**: `ANTHROPIC_API_KEY`, `SUPABASE_URL`, `SUPABASE_SERVICE_KEY`, `TELEGRAM_*`

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/etanhey) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-14 -->

