Deployment Overview
This section outlines the deployment processes for the Promptable application, its associated Durable Object (DO) worker, and this documentation site.
We utilize Cloudflare for hosting and deployments, integrated with GitHub Actions for CI/CD.
Environments
There are three primary environments:
- Local Development: For building and testing features on your machine.
- Preview (Staging): Automatically deployed from any non-
mainbranch. This allows for testing changes in a cloud environment that mirrors production. - Production: Automatically deployed from the
mainbranch. This is the live application.
Key Components & Workflows
- SvelteKit Application: The main frontend and backend application.
- Deployed to Cloudflare Pages.
- CI/CD via GitHub Actions on pushes to any branch.
- Durable Object Worker (
execution-runner-worker): Handles stateful operations for automations.- Deployed to Cloudflare Workers.
- CI/CD via GitHub Actions on pushes to any branch (if
packages/do-runnerhas changes).
- Documentation Site: This site.
- Deployed to Cloudflare Pages.
- CI/CD via GitHub Actions on pushes to
main(ifpackages/dev-docshas changes).
Navigate through this section to understand each deployment process in detail.