the statusphere demo reworked into a vite/react app in a monorepo

Compare changes

Choose any two refs to compare.

Changed files
+11 -21
.tangled
workflows
+11 -21
.tangled/workflows/deploy.yml
··· 3 # RAILWAY_SERVICE_ID 4 5 when: 6 - - event: ["push", "manual"] 7 branch: ["main"] 8 9 engine: "nixery" 10 11 dependencies: 12 nixpkgs: 13 - - railway 14 15 steps: 16 - - name: Check for required values 17 - command: | 18 - if [ -z "${RAILWAY_TOKEN}" ]; then 19 - echo "Error: RAILWAY_TOKEN is not set or empty" 20 - exit 1 21 - fi 22 - if [ -z "${RAILWAY_SERVICE_ID}" ]; then 23 - echo "Error: RAILWAY_SERVICE_ID is not set or empty" 24 - exit 1 25 - fi 26 27 - # - name: Commit evil 28 - # command: | 29 - # echo $RAILWAY_TOKEN 30 - # echo $RAILWAY_SERVICE_ID 31 - # 32 - - name: Attempt login 33 - command: railway status 34 35 - name: Deploy to Railway 36 - command: | 37 - railway up --ci --service="$RAILWAY_SERVICE_ID"
··· 3 # RAILWAY_SERVICE_ID 4 5 when: 6 + - event: ["push"] 7 branch: ["main"] 8 9 engine: "nixery" 10 11 dependencies: 12 nixpkgs: 13 + - rustup 14 + - gcc 15 16 steps: 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