Fly.io CI Integration Overview Set up CI/CD for Fly.io edge deployments: run unit tests on every PR, deploy to staging on pull requests, and promote to production on merge to main. Fly.io uses Machines API for app management and deploy tokens for scoped CI authentication. CI pipelines build Docker images, deploy via , and run post-deploy health checks against the edge endpoints. GitHub Actions Workflow Mock-Based Unit Tests Integration Tests Error Handling | CI Issue | Cause | Fix | |----------|-------|-----| | invalid | Token expired or revoked | Regenerate with | | Deploy timeout | Image bu…