The Demomatic GitHub integration watches your repository for pull request activity and triggers demo regeneration automatically. Use it to keep your demos up to date as your product evolves — without manually re-running generation after every code change.Documentation Index
Fetch the complete documentation index at: https://docs.demomatic.tech/llms.txt
Use this file to discover all available pages before exploring further.
How it works
Install the GitHub App
Connect Demomatic to your GitHub account by installing the GitHub App on the repositories you want to watch.
Enable self-heal on a video
Mark individual videos with
self_heal_on_pr: true. When a pull request event matches a connected repository, Demomatic regenerates those videos.Install the GitHub App
Navigate to the GitHub begin-install endpoint while authenticated. Demomatic creates a short-lived install intent and redirects you to GitHub’s app installation page:You must be signed in to your Demomatic account before initiating the install. The install intent expires after 15 minutes.
Enable auto-regeneration on a video
After installing the GitHub App, mark the videos you want to auto-update when a PR is opened or merged. Setself_heal_on_pr to true on the video:
self_heal_on_pr: true are included in GitHub-triggered regeneration runs.
Webhook events handled
Demomatic processes the following GitHub webhook events:| Event | What Demomatic does |
|---|---|
pull_request | Triggers demo regeneration for matching videos when a PR is opened or merged. |
installation | Removes linked repositories when the GitHub App is uninstalled from an account. |
installation_repositories | Adds or removes repository links when repositories are added to or removed from the app installation. |
Disconnect the GitHub integration
You can disconnect the GitHub App at any time. Use either endpoint: DELETE with query parameter:domain_id to scope the request to the correct account. Disconnecting removes the GitHub integration for the entire account associated with that domain.
