Skip to content

Auto-enable GitHub Pages from the deploy workflow - #2

Open
ideaclaw wants to merge 1 commit into
mainfrom
cursor/enable-pages-e835
Open

Auto-enable GitHub Pages from the deploy workflow#2
ideaclaw wants to merge 1 commit into
mainfrom
cursor/enable-pages-e835

Conversation

@ideaclaw

@ideaclaw ideaclaw commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary

The first deploy run on main (after #1 merged) built and verified the static export successfully, but failed at the Configure GitHub Pages step with Get Pages site failed ... Not Found — the repository doesn't have GitHub Pages enabled yet.

This sets enablement: true on actions/configure-pages@v5, which lets the workflow create the Pages site (build type: GitHub Actions) on its first run instead of requiring the manual Settings → Pages → Source: GitHub Actions step.

After merging

  1. The push to main re-triggers the deploy workflow; it should go green and publish the site to https://ideaclaw.github.io/tokenbrews/.
  2. Set the custom domain in Settings → Pages → Custom domain to tokenbrews.com and add the Cloudflare DNS records from the README (four A records for @ pointing at the GitHub Pages IPs, plus CNAME www → ideaclaw.github.io, DNS-only while GitHub validates). Then enable Enforce HTTPS once the certificate is issued.

Note: until the custom domain is attached, the github.io/tokenbrews/ project URL will render unstyled because the export uses root-absolute asset paths (/assets/...). That's expected — the site is built to be served from a domain root, which is exactly what the custom domain gives you.

Open in Web Open in Cursor 

The deploy run on main failed at configure-pages because the repository does not have Pages enabled yet. Setting enablement: true lets the workflow create the Pages site (build type: workflow) on first run instead of requiring a manual Settings -> Pages step.

Co-authored-by: ideaclaw <ideaclaw@users.noreply.github.com>
@cursor

cursor Bot commented Aug 8, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants