Skip to content

ci: prove the Fly credential without deploying - #30

Merged
abrichr merged 1 commit into
mainfrom
ci/verify-fly-credential
Jul 28, 2026
Merged

ci: prove the Fly credential without deploying#30
abrichr merged 1 commit into
mainfrom
ci/verify-fly-credential

Conversation

@abrichr

@abrichr abrichr commented Jul 28, 2026

Copy link
Copy Markdown
Member

FLY_API_TOKEN is now set on the production environment.

Verifying it by re-running Deploy Worker's last failed run would deploy commit e99cdbe (2026-03-19) over wright-worker.fly.dev, which is currently serving a build deployed by hand. That is a production change made to test a credential.

This adds a dispatch-only, read-only check — flyctl auth whoami and flyctl status — so the credential can be proven without touching the running service. Deploy Worker is unchanged and still fires only on a real push to apps/worker/**.

FLY_API_TOKEN now exists, but Deploy Worker only triggers on a push touching
apps/worker/**. The obvious test -- re-running its last failed run -- would
push commit e99cdbe from 2026-03-19 over a live service that someone deployed
by hand, purely to test a credential.

This reads instead: whoami and status, both read-only. The deploy stays
push-gated and fires on the next real worker change.
@abrichr
abrichr merged commit 66541bb into main Jul 28, 2026
1 check passed
@abrichr
abrichr deleted the ci/verify-fly-credential branch July 28, 2026 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant