Skip to content

Commit

Permalink
ci(deploy): Vercel -> Railway
Browse files Browse the repository at this point in the history
  • Loading branch information
coopbri authored Feb 14, 2024
1 parent 8e4370b commit f15f122
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun i
- run: bun run build
- uses: amondnet/vercel-action@v25
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-token: ${{ secrets.VERCEL_TOKEN }}
scope: ${{ secrets.VERCEL_ORG_ID}}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID}}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}}
vercel-args: --prod
bun-version: latest
- name: Install Railway CLI
run: bun i @railway/cli
- name: Deploy
run: railway up
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}

0 comments on commit f15f122

Please sign in to comment.