Skip to content

Make Dockerfile PORT configurable for Railway compatibility #5

Make Dockerfile PORT configurable for Railway compatibility

Make Dockerfile PORT configurable for Railway compatibility #5

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