Support deployment via CLI
Allow to deploy App Hosting via CLI to be able to customize when and to where the application is deployed, instead of always on merge.
This then could also help deploy a preview version from a branch to test the changes before merging.
Hi everyone, we're excited to announce that App Hosting now supports CLI deployments! Update your version of the Firebase CLI to get started with the new apphosting:rollouts:create command.
Check out our latest blog post for more details: https://firebase.blog/posts/2024/10/app-hosting-regions
-
Thomas Bouldin commented
We're currently investigating what it will take to deploy from the CLI. In the meantime, check out some of our latest new features in https://firebase.blog/posts/2024/09/app-hosting-environments
You can now have a different backend that targets your "staging" environment that may continue to deploy on push, and then change your "production" backend to only push manually while still getting the benefits of knowing that you're pushing from a code-reviewed git commit.