DocsAdvancedGitHub Integration

GitHub Integration

Connect GitHub, push generated sites, and deploy from your repository.

Connecting GitHub

GitHub integration is available on Pro and Premium plans.

1.Go to Settings → Integrations
2.Click Connect GitHub
3.Authorize the Draftly GitHub App (repository read/write access)
4.Your connected account is shown in Settings

The GitHub App only accesses repositories it creates. It does not have access to your existing repos.

Pushing to GitHub

1.Open any generated project in the 3D Builder
2.Open the Code tab
3.Click Push to GitHub
4.Choose to create a new repository or select an existing one
5.A commit is created with the message "Site generated by Draftly"

The repository contains index.html, README.md, and an optional GitHub Actions workflow for GitHub Pages.

GitHub Pages Deployment

1.After pushing, go to your repository on GitHub
2.Navigate to Settings → Pages
3.Under Source, select Deploy from a branch
4.Choose main branch, / (root) folder, click Save

GitHub Pages deploys in ~60 seconds at https://{username}.github.io/{repo-name}.