Docs/GitHub
GitHub
GitHub syncs your site's codebase to a GitHub repository, enabling continuous versioning and developer workflows.
What your site can do with GitHub
- Export and push your complete site code to a private or public GitHub repository
- Automatic commits whenever you publish changes in Codunk
- Collaborate with developers and integrate CI/CD deployment pipelines
Common use cases
| Example app | Example prompt | What happens |
|---|---|---|
| Code export & backup | Use GitHub to keep a full git history of my site code in a private repo. | Every publish pushes a clean commit with your HTML/CSS/React site code. |
| CI/CD integration | Sync site changes to GitHub to trigger custom automated workflows. | Triggers GitHub Actions workflows upon site publication. |
Prerequisites
- A GitHub account
- GitHub OAuth authorization granted to Codunk
Set up GitHub
- In the Studio Connectors panel, click 'Connect with GitHub'.
- Authorize the Codunk GitHub App with repository permissions.
- Select an existing repository or create a new one.
Limitations
- Requires repository write permissions granted to the Codunk integration.
- Code is pushed when you publish the site, not live keystrokes in the Studio editor.