Skip to content

Commit 5ed9a4f

Browse files
committed
update output
1 parent 313a3fc commit 5ed9a4f

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.github/workflows/auto_generate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
watch:
88
types: [started]
99
schedule:
10-
- cron: '0 0/1 * * *'
10+
- cron: '0 * * * *'
1111

1212
jobs:
1313
build:

api/v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def start_list():
4848
@app.route('/v1/<type>', methods=['GET'])
4949
def start_main(type):
5050
source = request.args.get("source") or load_settings('source_repo')
51-
source += '/' + load_settings('output_branch')
51+
source += '/output'
5252
target = request.args.get("target")
5353
if target:
5454
target += '/' + type + '.json'

config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
settings:
33
# 默认源,请求时不传 source 则使用这里的值作为 source ,如果需要部署API,则需要设置为「用户名/本仓库」
44
source_repo: xaoxuu/github-api
5-
# 数据源输出分支(存放自动生成的文件)
6-
output_branch: output
75

86
########################################
97
# 由于 GitHub API 限制,最多可以设置 60 个

0 commit comments

Comments
 (0)