Skip to content

Commit a1e266e

Browse files
authored
Merge pull request #7 from ilyydy/doc
修复 build ci
2 parents 44cb1fb + b8c8364 commit a1e266e

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

.github/workflows/build.yml

+3
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
1113

1214
strategy:
1315
matrix:
1416
node-version: [18.x]
1517
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1618

19+
name: Build
1720
steps:
1821
- uses: actions/checkout@v3
1922
- name: Use Node.js ${{ matrix.node-version }}

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
node-version: [18.x]
2626
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2727

28-
name: Deploy
28+
name: Test
2929
steps:
3030
- uses: actions/checkout@v3
3131
- name: Use Node.js ${{ matrix.node-version }}

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,22 @@
22

33
[![LICENSE](https://img.shields.io/github/license/ilyydy/cf-openai)](https://github.com/ilyydy/cf-openai/blob/main/LICENSE)
44
[![ci test](https://github.com/ilyydy/cf-openai/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/ilyydy/cf-openai/actions/workflows/test.yml)
5+
[![CodeQL](https://github.com/ilyydy/cf-openai/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/ilyydy/cf-openai/actions/workflows/github-code-scanning/codeql)
56
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
67

78
基于 Cloudflare Worker 代理访问 OpenAI API 的服务,目前支持微信公众号(同时多个)接入
89

10+
- [cf-openai](#cf-openai)
11+
- [基本要求](#基本要求)
12+
- [Cloudflare Worker 部署](#cloudflare-worker-部署)
13+
- [Cloudflare 界面部署](#cloudflare-界面部署)
14+
- [Github Action 部署](#github-action-部署)
15+
- [本地命令行部署](#本地命令行部署)
16+
- [微信公众号接入配置](#微信公众号接入配置)
17+
- [可用命令](#可用命令)
18+
- [OpenAI 配置](#openai-配置)
19+
- [已知问题](#已知问题)
20+
921
## 基本要求
1022

1123
- 注册 OpenAI 账号,创建复制 API key

0 commit comments

Comments
 (0)