This commit is contained in:
7
.github/workflows/railway-deploy.yml
vendored
7
.github/workflows/railway-deploy.yml
vendored
@@ -2,12 +2,14 @@ name: Deploy to Railway
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: ["main"]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on:
|
||||
- self-hosted
|
||||
- linux
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -33,4 +35,3 @@ jobs:
|
||||
if [ -n "${RAILWAY_SERVICE_ID:-}" ]; then SERVICE_FLAG="--service ${RAILWAY_SERVICE_ID}"; fi
|
||||
# Deploy current repo; --yes to skip prompts
|
||||
railway up $PROJECT_FLAG $SERVICE_FLAG --yes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user