Skip to content

Conversation

@wangrunlin
Copy link
Owner

@wangrunlin wangrunlin commented Feb 26, 2025

This pull request adds automated deployment workflows using GitHub Actions and improves the project documentation.

Changes

  • Added deploy.yml workflow to automatically deploy to production when pushing to the main branch
  • Added preview.yml workflow to create preview deployments for all non-main branches
  • Updated README.md with:
    • Improved link references using named references instead of numbered references
    • Added detailed deployment documentation explaining the CI/CD process
    • Added instructions for setting up GitHub Secrets for Cloudflare deployments
    • Updated TypeScript version badge to 5.7.3

Benefits

  • Streamlines the deployment process with automated CI/CD
  • Creates preview deployments for testing changes before merging to main
  • Improves documentation readability and maintainability
  • Provides clear instructions for contributors on deployment setup

Testing

The workflows have been tested and successfully deploy to Cloudflare Workers environments.

@wangrunlin wangrunlin added the enhancement New feature or request label Feb 26, 2025
- Create Wrangler configuration for preview and production deployments
- Add GitHub Actions workflow for preview deployments
- Update README files with detailed deployment instructions and Cloudflare credential setup
- Create deploy.yml for automatic production deployments
- Update preview.yml to include deployment URL and commit comment
- Add comment generation for deployment links in both workflows
- Update wrangler.toml with a preview environment comment
@wangrunlin wangrunlin changed the title feat: Add GitHub Actions and Cloudflare deployment configuration feat: add CI/CD workflows and improve documentation Feb 26, 2025
@wangrunlin wangrunlin merged commit 8d19b1f into main Feb 26, 2025
3 checks passed
@wangrunlin wangrunlin deleted the ci branch February 26, 2025 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants