Skip to content

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:

  1. Local Development: For building and testing features on your machine.
  2. Preview (Staging): Automatically deployed from any non-main branch. This allows for testing changes in a cloud environment that mirrors production.
  3. Production: Automatically deployed from the main branch. 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-runner has changes).
  • Documentation Site: This site.
    • Deployed to Cloudflare Pages.
    • CI/CD via GitHub Actions on pushes to main (if packages/dev-docs has changes).

Navigate through this section to understand each deployment process in detail.