Skip to content

chore: add GitHub Pages deployment workflow for demo - #15

Merged
goodlime merged 1 commit into
mainfrom
feature/github-pages-deployment
Apr 23, 2026
Merged

chore: add GitHub Pages deployment workflow for demo#15
goodlime merged 1 commit into
mainfrom
feature/github-pages-deployment

Conversation

@goodlime

@goodlime goodlime commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds .github/workflows/pages.yml to deploy the demo Angular project to GitHub Pages on push to main
  • Builds with --base-href /grapesjs-angular/ and publishes dist/demo/browser/ via actions/deploy-pages@v4
  • Uses Node 24 to match ci.yml

Required before first run

GitHub Pages must be enabled in repo settings: Settings → Pages → Source: GitHub Actions. Without this, deploy-pages@v4 fails on the github-pages environment.

Target URL

https://internetliquid.github.io/grapesjs-angular/

Test plan

  • Enable Pages (Source: GitHub Actions) in repo settings
  • Merge PR and watch "Deploy Demo to GitHub Pages" workflow on main
  • Both build and deploy jobs pass
  • Site loads at target URL and GrapesJS editor renders
  • DevTools Network tab confirms assets load under /grapesjs-angular/… prefix (no 404s)

@goodlime
goodlime merged commit 0877c71 into main Apr 23, 2026
1 check passed
@goodlime
goodlime deleted the feature/github-pages-deployment branch April 23, 2026 13:14
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.

1 participant