malachite40
PROOP
2 months ago
Just today I tried to create a deployment. But the CLI fails to deploy. I tried rolling my token, still doesn't work. Been working for months, just randomly stopped working 🤔
name: Pre Deploy to Railway
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.2.0
- name: Run Migrations
run: npx prisma migrate deploy
working-directory: ./packages/database
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
- name: Ensure Railway CLI is available
run: npx --package @railway/cli railway --version
- name: Deploy Repository
run: |
npx --package @railway/cli railway up -d -s ""
npx --package @railway/cli railway up -d -s ""
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}1 Replies
elter71
PRO
2 months ago
Same issue here its look like authorization with token stop working.