Skip to content

Commit b59c87d

Browse files
committed
update model
1 parent 2a59867 commit b59c87d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy-railway-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
timeout-minutes: 30
2828
env:
29-
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
29+
# Railway CLI expects account/workspace tokens in RAILWAY_API_TOKEN.
3030
RAILWAY_API_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
3131
RAILWAY_PROJECT_ID: ${{ secrets.RAILWAY_PROJECT_ID }}
3232
RAILWAY_ENVIRONMENT_ID: ${{ secrets.RAILWAY_ENVIRONMENT_ID }}
@@ -35,7 +35,7 @@ jobs:
3535
steps:
3636
- name: Validate Railway secrets
3737
run: |
38-
test -n "${RAILWAY_TOKEN}" || (echo "Missing secret: RAILWAY_TOKEN" && exit 1)
38+
test -n "${RAILWAY_API_TOKEN}" || (echo "Missing secret: RAILWAY_TOKEN" && exit 1)
3939
test -n "${RAILWAY_PROJECT_ID}" || (echo "Missing secret: RAILWAY_PROJECT_ID" && exit 1)
4040
test -n "${RAILWAY_ENVIRONMENT_ID}" || (echo "Missing secret: RAILWAY_ENVIRONMENT_ID" && exit 1)
4141
test -n "${RAILWAY_SERVICE_ID}" || (echo "Missing secret: RAILWAY_SERVICE_ID" && exit 1)

0 commit comments

Comments
 (0)