Deploy from UI with one click and previous UI deployments page

It’s me again! I’m excited to share that apps dashboard pages should come with a new tab on the sidebar.

We just released an App Deployments page that should give you some basic information about the GitHub repo attachment to your app, latest deployments and the coolest thing: deploy now button!

How does it work?

The deploy button pretty much reuses the entirety of our deployer image except now it asks zero questions, it just deploys your app! This is useful on cases such as you not having access to your console and wanting to ship something asap without any continuous deployment previously setup. Also this will be useful if you used our UI to stage secrets and just want to deploy.

Attaching repos

If you previously deployed an app via our Launch UI you could very well assume your repo was already attached to the app and that was true but we recently changed how we stored those attachments so we will need you to attach it once more. Apologies for the troubles of experimental features!

The one caveat

This page currently assumes your repo already has a fly.toml for an app you own. Later on we want to create more pathways you can take (what if you don’t own the app? what if you want to copy the config and launch the repo to this app?) but we just wanted to ship something that we feel could be useful even if the use cases are specific such as the one I described above

What’s next

Believe it or not, this is part of our work for continuous deployments. There’s many things to be addressed inbetween now and “we have built-in CD at fly.io” and, unless something else more important appears, we will be working on making the UX for newly launched apps to store their generated fly.toml (and other files such as Dockerfile, .dockerignore…). Spoiler alert: our UI will probably ask you if it can create a PR for you to add those files.


As usual we’d love any feedback! Did you love it? Does this feature sucks? Let us know

7 Likes

Something is off with the GitHub integration, it can’t find any of my repos even though I connected it.

Edit: it’s a monorepo though and there is no fly.toml in the root but in the packages. That could be it.

3 Likes

That’s great feedback. We should support choosing a CWD!

2 Likes

That would be great! I am using an NX monorepo, and I have 3 .toml files in different locations, and I expect that number to increase with time. I’d love to be able to still use the deploy UI after selecting the correct config file.

2 Likes

Don’t worry, its on our radar! It will be important to have this sorted out as part of our next steps

2 Likes

I had a failed repo deployment, but i can’t see why.

I think there should be something such as log :slight_smile:

Seems like there are issues right now with builds. No incident yet since I assume they are not yet aware.

not an issue, just a weird problem if I would like to deploy and inner directory (not having this directory .gitignore, so it stops (i think, need logs).

Another problem:

If i Try to deploy a postgres, I should not be allowed to create the secret DATABASE_URL.

Because it failsif your carete it before the postgres :slight_smile:

Another one :slight_smile:

It tries to create a tigris object when i dont need it in the launcher, and it fails.