feat(ci): trigger Railway deployment immediately after Docker push

Add Railway CLI step to GitHub Actions workflow that deploys to Railway
immediately after the Docker image is pushed to ghcr.io.
This commit is contained in:
Ryan Walters
2025-11-22 19:07:34 -06:00
parent e00d209047
commit 9bf8d0428c

View File

@@ -115,3 +115,15 @@ jobs:
cache-to: type=gha,mode=max
build-args: |
GIT_COMMIT_SHA=${{ github.sha }}
# Wait for ghcr.io propagation (paranoid safety)
- name: Wait for registry propagation
run: sleep 5
# Deploy to Railway
- name: Deploy to Railway
uses: docker://ghcr.io/railwayapp/cli:latest
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
with:
args: up --service pac-man