Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 14, 2025

Configures the repository for GitHub Pages deployment with automated CI/CD via GitHub Actions.

Changes

  • GitHub Actions workflow (.github/workflows/deploy-pages.yml): Builds site on push to main and deploys public/ directory to GitHub Pages
  • Asset path fix: Changed /js/main.js to js/main.js in src/index.js for subpath deployment compatibility
  • Build reproducibility: Added package-lock.json and updated .gitignore to support npm ci in CI pipeline
  • Documentation: Updated README.md and DEPLOYMENT.md to reflect GitHub Pages as primary deployment method; added GITHUB_PAGES_SETUP.md with configuration steps

Deployment

After merge, enable GitHub Pages in repository Settings > Pages by selecting "GitHub Actions" as the source. Site will deploy to https://owasp-blt.github.io/BLT-on-Cloudflare/

Cloudflare Pages deployment remains available as an alternative via existing wrangler.toml configuration.

Original prompt

This section details on the original issue you should resolve

<issue_title>convert this to be BLT on github pages so it shows the homepage on github pages</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 14, 2025

Deploying blt-on-cloudflare with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7b13f8b
Status: ✅  Deploy successful!
Preview URL: https://304c9a92.blt-on-cloudflare.pages.dev
Branch Preview URL: https://copilot-convert-to-blt-githu.blt-on-cloudflare.pages.dev

View logs

Copilot AI and others added 4 commits December 14, 2025 01:22
Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
Copilot AI changed the title [WIP] Convert project to BLT for GitHub Pages homepage Convert deployment from Cloudflare Pages to GitHub Pages Dec 14, 2025
Copilot AI requested a review from DonnieBLT December 14, 2025 01:36
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.

convert this to be BLT on github pages so it shows the homepage on github pages

2 participants