`fly deploy --detach` does not detach

fly deploy -h says:
--detach Return immediately instead of monitoring deployment progress.

From that I think I should expect the command to finish quickly and leave the build and deployment run on the cloud.

But what I got is the full build and deployment is still monitored and the command only finishes after the deployment is done.

It’s been months since I first got this issue but I didn’t care until I need to run it on github actions, which charges running time.

I have tried on windows, macos, and ubuntu on github actions, the issue remains.
Searched through the topics and found no result.
Can someone help?

1 Like

Fly doesn’t have headless deployment. In fact, the fly CLI is responsible for almost the entire deployment process from building all the way to monitoring for success.

You cannot run a deployment without a server somewhere running fly CLI (or running the equivalent API requests).

Thanks for your reply!

But what does the --detach flag do?
I don’t see any change after using it.

Or is it just reserved for future?

Added proxy

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.