testing deployment to web

adding automated deploy attempt 8

+10 -9
+10 -9
.tangled/workflows/deploy.yaml
··· 8 8 dependencies: 9 9 nixpkgs: 10 10 - go 11 - - nodejs 12 - - railway 11 + - rustup 12 + - gcc 13 13 14 14 environment: 15 15 GOOS: "linux" 16 16 GOARCH: "arm64" 17 17 18 + steps: 19 + - name: Install Rust toolchain 20 + command: rustup default stable 21 + 22 + - name: Install Railway CLI 23 + command: cargo install railwayapp --locked 18 24 19 - steps: 20 - - name: "Build web server" 21 - command: "go build" 25 + - name: Link `railway` executable 26 + command: ln -s /tangled/home/.cargo/bin/railway /bin/railway 22 27 23 28 - name: "Deploy to railway" 24 29 command: "railway up --ci --service=$RAILWAY_SERVICE_ID" ··· 26 31 27 32 28 33 29 - # on comit to main branch, 30 - # - build golang bin 31 - # - deploy with cli 32 - ##