-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在{FIT,GPX,TCX}_OUT三个文件夹添加数据文件出发同步脚本 #451
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
why not add all of them in run_data_sync.yml? |
确实考虑在run_data_sync.yml一个文件中完成。 |
想到一个方案。我改改添加个提交 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
其他的实现没问题
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- scripts/nike_sync.py | ||
- scripts/nike_to_strava_sync.py | ||
- scripts/strava_sync.py | ||
- scripts/gen_svg.py | ||
- scripts/garmin_sync.py | ||
- scripts/keep_sync.py | ||
- scripts/gpx_sync.py | ||
- scripts/tcx_sync.py | ||
- scripts/garmin_to_strava_sync.py | ||
- requirements.txt | ||
inputs: | ||
logLevel: | ||
description: 'run type' | ||
required: true | ||
default: 'pass' | ||
type: choice |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不建议改这块的逻辑,因为我们用户一大部分没有编程基础,他们是网上找的教程,这块会变得不一样。而且老用户 merge master 逻辑也会变
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果有这个考虑。这个PR关掉了。似乎找不到更好的方式实现这个需求。
FIT_OUT
,GPX_OUT
,TCX_OUT
三个文件夹添加数据文件后,添加了三个action,出发相应的sync脚本。CI中的提交commit message前都加上了
[skip ci]
,可以表明CI抓取数据后的push导致出发上面的action。garmin_sync添加了
--only-doowload
参数。可以只下载数据。