a digital entity named phi that roams bsky phi.zzstoatzz.io
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

deploy with immediate strategy when machine is stopped

rolling deploy health-checks a stopped machine, which always times out.
now CI checks machine state first — if stopped, uses immediate strategy
to update config without waiting for health checks.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+8 -1
+8 -1
.tangled/workflows/deploy.yml
··· 8 8 nixpkgs: 9 9 - flyctl 10 10 - curl 11 + - jq 11 12 12 13 steps: 13 14 - name: deploy to fly.io 14 15 command: | 15 16 test -n "$FLY_API_TOKEN" 16 - flyctl deploy --remote-only 17 + STATE=$(flyctl machines list --json | jq -r '.[0].state') 18 + if [ "$STATE" = "stopped" ]; then 19 + echo "machine is stopped, deploying with immediate strategy (skip health checks)" 20 + flyctl deploy --remote-only --strategy=immediate 21 + else 22 + flyctl deploy --remote-only 23 + fi