Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.39 KB

deployment.md

File metadata and controls

32 lines (21 loc) · 1.39 KB

Deployment

Viewer

Continuous deployment is handled through Cloudflare Pages.

The deployment process is generally:

  • A PR is approved and merged to main
  • The Cloudflare app picks up the PR and runs npm run build
  • Assuming no errors, the built /packages/viewer/dist directory is deployed to the Cloudflare pages URL topology.pages.dev

Cloudflare Pages is not currently configured to report builds or build failures directly (see this Cloudflare community discussion). As such, we only get deploy failure notifications through Github action failure notifications.

Compiler

Add a semver tag to trigger the Publish Images CI step, which publishes ghcr.io/pi-base/compile. You can either

  • create a release directly in the Github UI
  • run git tag v#.#.# and git push --tags

Data

Changes to the data repo invoke the released compile action, and upload the compiled bundles to the pi-base-bundles S3 bucket.