Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:29:12 +08:00
commit 8d8103de19
10 changed files with 1264 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
# Deployment Examples
Complete Cloudflare Workers deployment examples for Grey Haven applications.
## Available Examples
### [github-actions-workflow.md](github-actions-workflow.md)
Full GitHub Actions CI/CD workflows.
- Production deployment workflow
- Staging deployment workflow
- PR preview deployments
- Automated rollback on failure
### [wrangler-config.md](wrangler-config.md)
Complete wrangler.toml configuration examples.
- Environment-specific configurations
- KV namespace bindings
- R2 bucket bindings
- D1 database bindings
- Custom domain routing
### [doppler-secrets.md](doppler-secrets.md)
Secret management patterns with Doppler.
- Environment setup (dev, staging, production)
- Secret injection in CI/CD
- Local development with Doppler
- Rotating secrets safely
### [migrations.md](migrations.md)
Database migration examples.
- Drizzle migration scripts
- Alembic migration scripts
- Running migrations in CI/CD
- Migration rollback procedures
## Quick Reference
**Need GitHub Actions?** → [github-actions-workflow.md](github-actions-workflow.md)
**Need wrangler.toml?** → [wrangler-config.md](wrangler-config.md)
**Need Doppler setup?** → [doppler-secrets.md](doppler-secrets.md)
**Need migrations?** → [migrations.md](migrations.md)