Skip to content

fix: strip trailing slash from BACKEND_URL to resolve 404 in proxy #13

fix: strip trailing slash from BACKEND_URL to resolve 404 in proxy

fix: strip trailing slash from BACKEND_URL to resolve 404 in proxy #13

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
jobs:
deploy-api:
name: Deploy API to Railway
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install Railway CLI
run: npm i -g @railway/cli
- name: Deploy to Railway
run: railway up --service codeSearch-api --detach
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}