File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 }}
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)
You can’t perform that action at this time.
0 commit comments