Fly.io deployment¶
Guidance for repositories deployed to Fly.io.
Detection signals¶
Repo Standards treats these as Fly deployment signals:
fly.toml.github/workflows/*.ymlor.github/workflows/*.yamlmentioningflyctl,fly.io, orfly deployREADME.mdmentioning Fly deployment instructions
Migration posture¶
Fly deployment should remain repo-specific initially:
- Preserve
fly.toml - Preserve existing
flyctl deployworkflows - Add Repo Standards CI and governance checks alongside deploy workflows
- Do not change Fly app names, regions, machines, secrets, volumes, or deploy triggers during standards adoption
Recommended policy¶
Use the language profile that matches the application, then set deploy metadata to Fly:
deploy:
provider: fly
workflow: repo-specific
Follow-up hardening¶
After the standards migration is green:
- Document Fly deploy and rollback behavior in
README.md. - Confirm
FLY_API_TOKENis stored as a GitHub Actions secret. - Ensure CI validates the same code path that Fly deploys.
- Consider whether release automation should publish before deploy.