Add Railway deployment workflow with pinned commit SHAs

This commit is contained in:
Alexa Louise
2025-12-14 19:18:07 -06:00
parent 323549553e
commit d0eeeda4f8

18
.github/workflows/railway.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: Railway Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b
with:
node-version: '20'
- run: npm install -g @railway/cli
- run: railway up --detach
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}