3 min readBy The VibeDeploy team

Export Grok Build to GitHub and hand off a static site

Give your client the Grok site's source, identify the release they approved and publish its static files. Check where Grok-powered features still run.

Short answer

Use Export to GitHub in your Grok Build web or mobile project to push its source to a repository. Give the client access and identify the commit they approved. If the website runs entirely in the browser, build that revision and upload its finished HTML and assets to the client's hosting account. Grok also offers native publishing and custom domains if you prefer to keep running it there.

Publish the static release from your Grok project

Once the approved revision is built, upload its HTML or ZIP to the VibeDeploy account that will own the site.

If a restaurant approves its new menu on Tuesday and starts changing next week's prices on Wednesday, which version goes on the website? Save the GitHub commit for Tuesday's menu, build from that revision and give the restaurant the commit link alongside its live address. Its next developer can then reproduce exactly what went online.

Get the client's project into GitHub

  1. Open the website project in Grok Build on the web or mobile. Preview the revision you intend to deliver. Use Export to GitHub to push the project source to a repository. xAI's public repository for the Grok terminal coding agent is a different project. Start from your own app in Grok. xAI's Grok Build guide
  2. Open the resulting repository on GitHub. Confirm that its owner and visibility suit the handoff, then have the client open it with their own account. Open the commit for the approved revision and save its link. The branch name alone can point to different code after later edits.
  3. Check out that commit locally, or download a source archive for that revision and unpack it. Inspect the README, the homepage and any build configuration. A ZIP downloaded from GitHub contains a snapshot of the source. GitHub's source archive documentation

Decide where the interactive parts will run

Grok can already publish a site on grok.me or connect a domain you own. It also provides per-app access to its models, stored secrets and connectors. A restaurant menu with opening hours and a browser-side filter is a good candidate for a static release. A menu that asks Grok for a personalized recommendation needs a working AI integration wherever it runs.

Check each feature the client uses. If the exported project needs an application server or a service credential, keep the working Grok version available while you plan that integration. A public ZIP should contain only files visitors may download. Keep private keys and server configuration outside it. Grok Build's native publishing and services

Publish the approved static release

  1. Find the public files. If the project already contains a complete index.html that loads ordinary CSS and JavaScript, collect that page and its referenced assets. For a source project, follow its build instructions. For example, a Vite project using npm with a committed package-lock.json and a build script can use npm ci followed by npm run build. Vite's default output folder is dist. Check the project's actual configuration. Vite's deployment guide
  2. Package the output. Open the output folder and ZIP its contents. When you open that ZIP you should see index.html and the asset files or folders it references. For a single self-contained page, you can use the HTML file directly.
  3. Publish from the account that should own the site. In VibeDeploy choose Upload, select the finished HTML file or ZIP, give the site a name and publish. Open the returned HTTPS URL. Compare the homepage with the approved version, open a second page directly if there is one and try the menu filter on a phone.
  4. Complete the handoff. Record the public URL, source commit, build command and output folder together. For the next revision, update the existing VibeDeploy site with a new build. A later commit on GitHub only reaches this manually uploaded site when somebody publishes that revision.

Publish the static release from your Grok project

Once the approved revision is built, upload its HTML or ZIP to the VibeDeploy account that will own the site.

The 14-day trial needs no card and includes one site and one custom domain. Connect the client's hostname from the site's Overview when the release checks out. Add the DNS records shown at the provider managing that hostname, then verify the custom HTTPS address. Solo costs EUR 4/month to keep one site online with one domain connection after the trial. Registration of the domain is separate. The trial site pauses on expiry without a paid plan. Hosting plans

From the VibeDeploy team

Ship your AI-built site in minutes

VibeDeploy hosts your AI-built websites in the EU with custom domains, automatic SSL, and a 14-day free trial that gets you online today.

Deploy guides for this topic

Questions people ask

Do I need to export from Grok to use my own domain?

No. Grok Build supports both a grok.me address and a domain you own. xAI's announcement gives no per-plan domain count. Check the allowance in your Grok account if you need several domains. Export when the client needs the source repository or an independent release.

Can I upload the ZIP I downloaded from GitHub?

Extract it and inspect the contents first. A ready-to-serve static site can be packaged with index.html at the top of the ZIP. A source project containing unbuilt React or TypeScript needs its production build first.

What does the client need to maintain the site?

Give them access to the repository, the deployed commit identifier, the build instructions, the hosting account and the provider managing their DNS. Record which services any interactive features depend on.

Related reading