- Help center
- Integrations & developers
- GitHub sync
GitHub sync
Push exported code straight into a repository, and deploy with GitHub Pages.
Last updated
Connecting GitHub
- Go to Integrations → GitHub.
- Authorise UXMagic (OAuth).
- Pick an existing repository, or have UXMagic create one.
Pushing code
- Select the screens you want.
- Export → GitHub.
- Choose the repository and branch.
- Push. The exported code is committed for you.
Pushing again updates the same files, so the repo stays in step with the design as it evolves.
GitHub Pages
You can deploy the pushed code with GitHub Pages directly from the integration — useful for a quick public preview when you want the artifact to live in your own GitHub org rather than on UXMagic's hosting.
For a site you actually intend to run, publishing gives you a proper address, deployment history and rollback.
Good practice
- Push to a branch, not to
main, and review the diff. - Bring assets into the repo. Exported code references images by URL; download them before you ship.
- Expect a front end. There's no data layer or routing — wire it into your app.
Disconnecting
Disconnect from Integrations. That revokes UXMagic's access; anything already pushed stays in your repo.
Was this article helpful?