Skip to content

Commit ea8d664

Browse files
committed
feat: 添加手动触发工作流的支持
1 parent f059329 commit ea8d664

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

‎.github/workflows/generate-svg.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Daily Gravity SVG
22

33
on:
4+
workflow_dispatch:
45
schedule:
56
# 每天 UTC 0:00 运行(北京时间 8:00)
67
- cron: '0 0 * * *'

‎README.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ Inspired by [Orta Therox](https://github.com/Orta). Thanks Orta for your outstan
5252
name: Generate Contribution Gravity
5353
5454
on:
55+
workflow_dispatch:
56+
schedule:
57+
- cron: '0 0 * * *'
5558
push:
5659
branches:
5760
- main

‎README_zh.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@
5252
name: Generate Contribution Gravity
5353
5454
on:
55+
workflow_dispatch:
56+
schedule:
57+
- cron: '0 0 * * *'
5558
push:
5659
branches:
5760
- main

0 commit comments

Comments
 (0)