Skip to main content

GitHub Pages Deployment

Enable GitHub Pages to automatically deploy your synced code as a website.

Enabling GitHub Pages

From GitFig Settings

  1. Open Make Bridge settings (gear icon)
  2. Find "GitHub Pages" section
  3. Toggle "Enable GitHub Pages"
  4. Select source branch (usually main)
  5. Click Save

What Happens

GitFig uses the GitHub API to:

  1. Enable Pages on your target repository
  2. Configure deployment from your specified branch
  3. Set the root (/) as the publish directory

Viewing Your Site

After enabling, your site is available at:

https://<username>.github.io/<repo-name>/

The URL appears in GitFig after Pages is enabled.

Deployment Workflow

Figma Make → Make Repo → GitFig → Target Repo → GitHub Pages → Live Site

Each sync triggers a new Pages deployment.

Custom Domain

To use a custom domain:

  1. Add a CNAME file to your target repo
  2. Configure DNS to point to GitHub Pages
  3. Enable HTTPS in repository settings

Disabling Pages

Toggle off "Enable GitHub Pages" in settings to disable deployment.

Troubleshooting

Site not updating

  • Check GitHub Actions for deployment status
  • Pages can take a few minutes to update
  • Clear browser cache

404 errors

  • Ensure index.html exists in root
  • Check branch and directory settings