Skip to content

Add gunicorn, fix binding to 0.0.0.0:$PORT for Railway health checks #4

Add gunicorn, fix binding to 0.0.0.0:$PORT for Railway health checks

Add gunicorn, fix binding to 0.0.0.0:$PORT for Railway health checks #4

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