Skip to content
MyAppBuilder
StableGuide

Publish your app

The Publish dialog is where a draft becomes a release. It summarises what will go live (address, domain, installability, sign-in, version), runs the publish checklist and, when everything is in order, freezes the current version and deploys it.

The Publish dialog is where a draft becomes a release. It summarises what will go live (address, domain, installability, sign-in, version), runs the publish checklist and, when everything is in order, freezes the current version and deploys it.

When to use

  • First launch of your app.
  • Every time you want the live app (or staging) to receive your latest draft.

How to publish

  1. Click Publish (rocket icon) in the top bar. Viewers cannot publish; the button is disabled.
  2. Pick the environment: Production ("Your live app, used by real people with live data") or Staging preview.
  3. Read the summary: - URL: the subdomain and the path address for production, or the /s/<slug> address for staging. - Custom domain: connected domains and whether they are verified ("Connected" or "Pending DNS"), with a link to Settings. - PWA: "Installable · App name" when the PWA name is set; otherwise "Not installable — add an app name in Settings". - Authentication: on or off, enabled sign-in methods, whether sign-up is open or invite only, and the number of protected pages. - Version: the draft version that will be deployed and which release it replaces ("replaces v12 (3 days ago)"). "Already deployed" appears when the draft has not changed since the last release.
  4. Optionally write release notes (up to 1,000 characters). They appear in Versions › Deployments.
  5. Check the checklist. Errors ("Fix this before publishing") block the button; warnings ("you can still publish") do not. See Publish validation.
  6. Click Publish (or Deploy to staging). A success screen shows the link and next steps.

The dialog saves any pending edits before checking, so the checklist always reflects your latest draft.

The success screen

Example
Your app is live
Version 12 is now available to everyone with the link.
App link: studio.example.com/a/northside-repair
Also at northside-repair.apps.example.com (needs wildcard DNS)
[Open App] [Copy Link] [View Deployment] [Install PWA] [Manage Domain] [Done]

Install PWA expands short instructions for Android/Chrome/Edge ("Install app" in the browser menu) and iPhone/iPad (Share → Add to Home Screen).

What happens behind the scenes

  • The current draft version is frozen and named "Live v12" (or "Staging v12") in Version history.
  • The previous release of that environment is marked Superseded and stays available for rollback.
  • The publish is written to the project history ("Published v12 to production") and to the audit log.
  • If the app was unpublished, publishing to production brings it back online.

Common mistakes

  • Publishing before adding a home page. The checklist reports "No home page" as an error.
  • Setting Production secrets after the checklist. Reopen the dialog (or switch environments) to re-run the checks.
  • Expecting staging and production to deploy together. They are separate actions.

Advanced

The dialog calls GET /api/projects/:id/publish?environment=production|preview for the report and POST … { action: "publish", environment, releaseNotes } to deploy. A failed validation returns HTTP 400 with the report in details, which the dialog shows in place. Publishing requires the workspace editor role; the server re-runs validateForPublish() and refuses when ready is false.

Related

Was this helpful?