Skip to content

chore: remove GitHub Pages deployment, use Cloudflare Pages#174

Merged
rhuanbarreto merged 3 commits into
mainfrom
refactor/remove-platform-npm-packages
Mar 25, 2026
Merged

chore: remove GitHub Pages deployment, use Cloudflare Pages#174
rhuanbarreto merged 3 commits into
mainfrom
refactor/remove-platform-npm-packages

Conversation

@rhuanbarreto

Copy link
Copy Markdown
Contributor

Summary

  • Delete deploy-docs.yml GitHub Actions workflow — docs are now deployed via Cloudflare Pages
  • Delete docs/public/CNAME — no longer needed for GitHub Pages custom domain
  • Update GEN-001 ADR to remove all GitHub Pages references and note Cloudflare Pages deployment

Test plan

  • bun run validate passes (21/21 ADR checks, 599 tests)
  • Verify Cloudflare Pages deployment still works after CNAME removal

…eleases

Replace the 3 platform-specific npm packages (archgate-darwin-arm64,
archgate-linux-x64, archgate-win32-x64) with on-demand binary download
from GitHub Releases. The npm shim now downloads the binary on first run
and caches it to ~/.archgate/bin/.

This simplifies the release pipeline (no more platform npm publishes),
removes optionalDependencies from package.json, and eliminates 3 packages
to maintain.

Changes:
- bin/archgate.cjs: download from GitHub Releases instead of npm registry
- scripts/postinstall.cjs: check ~/.archgate/bin/ instead of node_modules
- package.json: remove optionalDependencies
- .simple-release.js: remove optionalDependencies version sync
- release-binaries.yml: remove npm publish steps, keep GH Release upload
- ARCH-013: remove optional-deps-version-sync rule
- Delete packages/ directory
- Update docs and CLAUDE.md
…ages

Delete deploy-docs.yml workflow and CNAME file. Update GEN-001 ADR to
remove all GitHub Pages references and note that deployment is now
handled externally via Cloudflare Pages.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 25, 2026

Copy link
Copy Markdown

Deploying archgate-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 366fdaa
Status: ✅  Deploy successful!
Preview URL: https://4a0bdf6f.archgate-cli.pages.dev
Branch Preview URL: https://refactor-remove-platform-npm.archgate-cli.pages.dev

View logs

@rhuanbarreto rhuanbarreto merged commit 19c5638 into main Mar 25, 2026
8 checks passed
@rhuanbarreto rhuanbarreto deleted the refactor/remove-platform-npm-packages branch March 25, 2026 02:29
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