Skip to content

some-fixes-2

some-fixes-2 #3

Workflow file for this run

name: Deploy to Railway
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Install Railway CLI
run: curl -fsSL https://railway.app/install.sh | sh
- name: Verify Railway CLI Version
run: railway --version
- name: Link to Railway Project
run: railway link logistics-app
- name: Deploy Frontend Service
run: |
echo "Deploying frontend service"
railway up --service frontend
- name: Deploy Backend Service
run: |
echo "Deploying backend service"
railway up --service backend