Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cloudflare workers for backend process #13

Merged
merged 16 commits into from
Jul 18, 2024
Merged

Add cloudflare workers for backend process #13

merged 16 commits into from
Jul 18, 2024

Conversation

shaokeyibb
Copy link
Member

@shaokeyibb shaokeyibb commented Jul 16, 2024

Added cloudflare workers project.

Something still not finished yet, will be complete in further pr.

Unfinished:

  1. Testing
  2. CI test
  3. Migrate to OI-wiki Cloudflare account

cloudflare-workers/src/db.ts Outdated Show resolved Hide resolved
cloudflare-workers/src/index.ts Outdated Show resolved Hide resolved
cloudflare-workers/src/db.ts Show resolved Hide resolved
cloudflare-workers/src/db.ts Outdated Show resolved Hide resolved
cloudflare-workers/src/index.ts Outdated Show resolved Hide resolved
Copy link
Member

@Enter-tainer Enter-tainer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM,我晚上再仔细看一次

@Enter-tainer
Copy link
Member

关于deploy,可以试试这个 https://github.com/marketplace/actions/deploy-to-cloudflare-workers-with-wrangler

cloudflare-workers/schema.sql Outdated Show resolved Hide resolved
cloudflare-workers/src/db.ts Outdated Show resolved Hide resolved
@shaokeyibb
Copy link
Member Author

关于deploy,可以试试这个 https://github.com/marketplace/actions/deploy-to-cloudflare-workers-with-wrangler

LGTM,目前传了一个 deploy 的 actions,顺带现在可以支持只在 GitHub 上配置相关 env 就可以部署到 CF 上了(包括设置 secret)

Copy link
Member

@Enter-tainer Enter-tainer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@Enter-tainer Enter-tainer merged commit 602f6c6 into master Jul 18, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants