Skip to content

Use nixpacks+gunicorn for Railway, keep Dockerfile for Fly.io/compose #3

Use nixpacks+gunicorn for Railway, keep Dockerfile for Fly.io/compose

Use nixpacks+gunicorn for Railway, keep Dockerfile for Fly.io/compose #3

name: Deploy to Railway
on:
workflow_dispatch:
push:
branches: [railway-deploy] # Test branch - change to master when ready
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
container: ghcr.io/railwayapp/cli:latest
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Deploy to Railway
run: railway up --service app --detach