Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

build(web): deploy only main and dev branches

leepokai3b98eb4e7c9d
diff --git a/web/README.md b/web/README.md
index e215bc4c..55db9aee 100644
--- a/web/README.md
+++ b/web/README.md
@@ -31,6 +31,17 @@ You can check out [the Next.js GitHub repository](https://github.com/vercel/next
## Deploy on Vercel
+With the Vercel project's Root Directory set to `web/`, `vercel.json` limits
+automatic Git deployments to `main` and `dev`. Other branches, including normal
+external PR branches, do not create previews. GitHub Actions tests still run.
+
+This filters branch names, not repository owners. Keep Git Fork Protection
+enabled: fork branches named `main` or `dev` still require authorization.
+Existing PR checks are not removed; PR branches need to include this
+configuration for subsequent events to use it.
+
+See [Vercel Git configuration](https://vercel.com/docs/project-configuration/git-configuration).
+
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
diff --git a/web/vercel.json b/web/vercel.json
new file mode 100644
index 00000000..05f9a065
--- /dev/null
+++ b/web/vercel.json
@@ -0,0 +1,10 @@
+{
+ "$schema": "https://openapi.vercel.sh/vercel.json",
+ "git": {
+ "deploymentEnabled": {
+ "**": false,
+ "main": true,
+ "dev": true
+ }
+ }
+}