**build(demo): remove GitHub Pages workflow and streamline demo deployment**

### Changes:
- Removed `github-pages.yml` GitHub Actions workflow file.
- Updated `README.md`:
  - Added documentation for `npm run deploy:demo` to deploy the demo to GitHub Pages.
  - Updated the live demo link to reflect the repository's namespace change.
- Added `gh-pages` dependency (v6.3.0) in `package.json`.
- Introduced `deploy:demo` script in `package.json` for demo deployment.

### Purpose:
Streamlined the demo deployment process by removing the dedicated GitHub Pages workflow and replacing it with a manual deployment script (`npm run deploy:demo`). This enhances developer control while maintaining simplicity in deploying updates to the live demo.
This commit is contained in:
David Snelling 2025-06-20 14:23:30 -07:00
parent 982609e001
commit 5cc6f9d683
4 changed files with 202 additions and 34 deletions

View file

@ -38,6 +38,7 @@
"version:minor": "npm version minor",
"version:major": "npm version major",
"deploy": "npm run build && npm publish",
"deploy:demo": "npm run build && npm run build:browser && gh-pages -d examples",
"deploy:cloud:aws": "cd cloud-wrapper && npm run build && npm run deploy:aws",
"deploy:cloud:gcp": "cd cloud-wrapper && npm run build && npm run deploy:gcp",
"deploy:cloud:cloudflare": "cd cloud-wrapper && npm run build && npm run deploy:cloudflare",
@ -84,6 +85,7 @@
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.45.0",
"gh-pages": "^6.3.0",
"jest": "^29.6.2",
"rollup": "^4.12.0",
"rollup-plugin-terser": "^7.0.2",