Skip to content

Commit

Permalink
[Fix] 🤔 Use Single Repository to Maintain CFWK Code
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-zklcdc committed Mar 7, 2024
1 parent d737dfa commit 705fea4
Show file tree
Hide file tree
Showing 9 changed files with 3,639 additions and 6 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/cloudflare-worker-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Cloudfalre Worker Deploy
on:
push:
repository_dispatch:
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
- name: Build & Deploy Worker
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: 'deploy --keep-vars --no-bundle'
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
> #### Cloudflare Worker 部署
>
> [![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/Harry-zklcdc/go-proxy-bingai-cfwk)
> [![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/Harry-zklcdc/go-proxy-bingai)
### 人机验证服务器

Expand Down
2 changes: 1 addition & 1 deletion api/v1/vercel.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { bingapiChat, bingapiModel, bingapiModels } from '../../cloudflare/src/bingapi.js'
import { bingapiChat, bingapiModel, bingapiModels } from '../../cloudflare/bingapi.js'

export const config = {
runtime: 'edge',
Expand Down
1 change: 0 additions & 1 deletion cloudflare
Submodule cloudflare deleted from 46b784
Loading

0 comments on commit 705fea4

Please sign in to comment.