Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .github/workflows/fly-deploy.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/railway-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Railway Deploy
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy Sync Server
runs-on: ubuntu-latest
concurrency: deploy-group # optional: ensure only one action runs at a time
container: ghcr.io/railwayapp/cli:latest
env:
SVC_ID: ${{ vars.RAILWAY_SERVICE_ID_PRODUCTION_TESTNET }}
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN_PRODUCTION_TESTNET }}
steps:
- uses: actions/checkout@v4
# Update the cache mount ID in the Dockerfile to include the service-specific pnpm store
- run: sed -i 's|\(--mount=type=cache,id=\)workspace|\1${{ env.SVC_ID }}-pnpm-store|' Dockerfile
- run: railway up --service=${{ env.SVC_ID }}
Loading