cabljac/cf-preview-stack

Vercel-style preview environments for Cloudflare Workers + D1 + KV

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
cloudflare_api_tokenCloudflare API token with Workers Scripts, D1, and Workers KV Storage permissions.yes
cloudflare_account_idCloudflare account ID.yes
workersYAML list of wrangler config paths. Accepts a simple list of paths or objects with path and working_directory.yes
github_tokenGitHub token for posting PR comments.no${{ github.token }}
commentWhether to post/update a summary comment on the PR.notrue
wrangler_versionWrangler version to install. Pin to a specific version for stability (e.g. 3.99.0).nolatest
cleanupRun orphan cleanup mode instead of normal preview lifecycle.nofalse
secretsJSON object of environment variable names to values. Injected as vars in each worker config before upload. Use for preview-specific secrets like AUTH_SECRET.no{}
namedescription
preview_urlsJSON object mapping worker name to preview *.workers.dev URL.
database_idsJSON object mapping original database name to preview database ID.
kv_namespace_idsJSON object mapping original KV namespace ID to preview namespace ID.
preview_aliasThe alias used for preview versions, e.g. pr-42.