the statusphere demo reworked into a vite/react app in a monorepo
1# Set the following secrets in your repo's pipeline settings:
2# RAILWAY_TOKEN
3# RAILWAY_SERVICE_ID
4
5when:
6 - event: ["push"]
7 branch: ["main"]
8
9engine: "nixery"
10
11dependencies:
12 nixpkgs:
13 - rustup
14 - gcc
15
16steps:
17 - name: Install Rust toolchain
18 command: rustup default stable
19
20 - name: Install Railway CLI
21 command: cargo install railwayapp --locked
22
23 - name: Link `railway` executable
24 command: ln -s /tangled/home/.cargo/bin/railway /bin/railway
25
26 - name: Deploy to Railway
27 command: railway up --ci --service=$RAILWAY_SERVICE_ID