CORA/DOCS
Developer APIs & PWACI/CD7 min read•Updated October 2026

Canvas Themes & GitHub CI/CD Full-Lifecycle Integration

Connect GitHub repositories to Canvas Themes with automated branch creation, PR reviews, 1-click merging, and commit rollback.

The Canvas Themes GitHub CI/CD Integration provides continuous deployment and version control between the Cora Visual Canvas and GitHub repositories.


1. 4-KPI Analytical Header & Navigation

The Canvas interface at /workspace/canvas features 4 real-time analytical scorecards:

  • PageSpeed Performance Score: Production Lighthouse performance rating.
  • LCP Speed (Largest Contentful Paint): Core Web Vitals paint metric.
  • Total Themes & Draft Versions: Count of active and staged template versions.
  • Theme Storage Footprint: Asset storage consumption.

A sticky 3-subtab bar enables seamless switching between Theme Library, Speed & Core Web Vitals, and Migration & Tools.


2. OAuth Device Flow & PAT Authentication

GitHub integration supports dual authentication paths:

  • Device Flow OAuth 2.0: RFC 8628 device authorization for fast, passwordless setup.
  • Personal Access Token (PAT): Scoped token storage with dual authentication header fallbacks (Bearer <token> and token <pat>).
  • Organization Repositories: Provision dedicated organization repositories (cora_github_provision_org_repo) or connect personal profiles.

3. Automated Branch & PR Review Workflow

Developers and agencies can isolate theme edits from production:

  • Branch Creation: Auto-create isolated staging branches (cora_github_create_branch).
  • Automated Pull Requests: Generate rich PRs with automated change descriptions (cora_github_create_pr).
  • PR Inspector: Review open PRs, diff summaries, and branch statuses directly within the workspace (cora_github_get_prs).

4. 1-Click Merge & Commit Rollback Engine

  • 1-Click Merge: Safely merge approved pull requests directly into the main production branch (cora_github_merge_pr).
  • Commit Rollback: If an issue arises in production, revert any commit with one click (cora_github_revert_commit), instantly restoring the previous stable state.

5. Safe Full-Workspace Synchronization

The cora_github_sync_entire_workspace action commits and pushes all workspace templates, styles, and configurations to GitHub in an atomic, non-destructive operation.

Have questions about this module?

Our founding engineering team answers developer inquiries directly.

Contact Founder