Skip to content

Commit a0f6e3a

Browse files
author
robot
committed
feat: 手动执行
1 parent 831e1e5 commit a0f6e3a

4 files changed

Lines changed: 321 additions & 4 deletions

File tree

.github/workflows/schedule.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
node-version: "14"
1717
- run: npm install
18-
- name: daily problem and daily check
18+
- name: daily problem
1919
env:
2020
issueToken: ${{secrets.ISSUETOKEN}}
2121
run: npm run daily-schedule

schedule/daily-check.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ function getAllPages(i) {
2323
if (res.data.length > 0)
2424
return getAllPages(i + 1).then((comments) => res.data.concat(comments));
2525
return [];
26-
});
26+
})
27+
.catch(console.error);
2728
}
2829

2930
async function run() {

static/my/solutions.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

static/solution/solutions.json

Lines changed: 317 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)