I am new to fly.io. I have tried three times to deploy and app and they fail every time in deploy application. When I start a new deployment, it is picking an old branch which most likely causing the failure. I am not able to change it. My question is:
how do I make sure fly is picking the master branch
how do I get the details about what failed? I know you can click on the arrow for each step and see the log but is there a place where it actually tell you what is wrong?
how do I delete old apps? I have three failing copy of the apps and I don’t see any delete buttons.
Hi… It’s generally best to use fly deploy from the command line in these situations. The dashboard deployer is still relatively new and is known to often omit troubleshooting information, etc.
Another broad tip is to run fly config validate --strict beforehand, which will catch many common fly.toml errors.
Hope this helps a little!
fly app destroy from the command line will definitely work. (Possibly there’s something in the dashboard squirreled carefully away, , as well.) Fly.io is still mostly CLI-first, although they’ve said recently that they want to gradually become more GUI over time…
It sounds like you already have the equivalent of fly launch taken care of; after that, a person uses fly deploy after each tweak. (The former is just a one-time initialization step, incorporating some convenient configuration heuristics for specific frameworks that it recognizes, etc.)