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 3 # RAILWAY_SERVICE_ID 4 4 5 5 when: 6 - - event: ["push", "manual"] 6 + - event: ["push"] 7 7 branch: ["main"] 8 8 9 9 engine: "nixery" 10 10 11 11 dependencies: 12 12 nixpkgs: 13 - - railway 13 + - rustup 14 + - gcc 14 15 15 16 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 17 + - name: Install Rust toolchain 18 + command: rustup default stable 26 19 27 - # - name: Commit evil 28 - # command: | 29 - # echo $RAILWAY_TOKEN 30 - # echo $RAILWAY_SERVICE_ID 31 - # 32 - - name: Attempt login 33 - command: railway status 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 34 25 35 26 - name: Deploy to Railway 36 - command: | 37 - railway up --ci --service="$RAILWAY_SERVICE_ID" 27 + command: railway up --ci --service=$RAILWAY_SERVICE_ID