Migrating an AI Studio App to GitHub and Cloud Run
Kitaaben started life in Google AI Studio. No shame in that — it's genuinely the fastest way I know to get a full-stack app with Firebase wired up and live. But "fast to start" and "where your code should live forever" are two different things.
I wanted GitHub to be the source of truth. Real commit history. Real pull requests. A deploy pipeline I could reason about without a proprietary UI sitting in the middle. The service was already live on Cloud Run, so the plan was simple: point it at the GitHub repo and be done by lunch.
It took the whole afternoon. Just not the afternoon I expected.
The plan that should have worked
Cloud Run has a built-in feature for exactly this — Continuously deploy from a repository. Connect a GitHub repo, pick a branch, and it auto-generates a Cloud Build trigger that builds and deploys...
Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE