inkly publish hub command. A hub is published by connecting its GitHub repo to Inkly. After the repo is synced, every change merged to the connected branch, usually main, is automatically published or updated on the Inkly platform.
How hub publishing works
Commit the hub changes
Commit changes to
inkly.json, demos/<slug>/demo.config.json, text content, and any assets you want GitHub to store.What the CLI does
Use the CLI to create, preview, polish, and prepare the hub before you merge changes. The CLI is part of the publishing workflow, but it does not publish the live hub directly. Useinkly snapshot only when you want a frozen link for one demo. A snapshot is separate from the live hosted hub.
Assets
You do not need to runinkly sync to publish a hosted hub. Inkly can read committed local assets from the connected GitHub repo.
Run inkly sync only when you want to keep large screenshots, videos, or audio files out of GitHub. See Sync assets.
Set up hub sync
If your hub is not connected yet, connect it from the platform first. See Set up Git sync.Share or embed
After the hub is published, open it in the Inkly platform to copy the public sharing URL or fetch embed code. The public URL is available once the hub publishes, but the platform is where you get the ready-to-use inline embed and popup embed snippets. See Embed and share.Use Publish a demo for a one-off share link. Use a GitHub-backed hosted hub when the collection should update from your source repo over time.

