Add Railway deploy workflow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Alexa Amundson
2026-02-20 18:34:50 -06:00
parent 0481303112
commit aa776b1e87

20
.github/workflows/deploy-railway.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
# Copyright (c) 2025-2026 BlackRoad OS, Inc. All Rights Reserved.
name: Deploy to Railway
on:
push:
branches: [main]
workflow_dispatch:
jobs:
deploy:
name: Deploy to Railway
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm install -g @railway/cli
- name: Deploy to Railway
run: railway up --detach --service blackroad-agents
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
RAILWAY_PROJECT_ID: ${{ secrets.RAILWAY_PROJECT_ID }}