Skip to content

Commit

Permalink
doc: garmin
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-29 committed Sep 27, 2023
1 parent 4e6a9d1 commit 7cbb09c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run_data_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,15 @@ jobs:
- name: Run sync Garmin script
if: env.RUN_TYPE == 'garmin'
run: |
# python run_page/get_garmin_secret.py ${email} ${password}
# python run_page/get_garmin_secret.py ${secrets.GARMIN_EMAIL} ${secrets.GARMIN_PASSWORD}
python run_page/garmin_sync.py ${{ secrets.GARMIN_SECRET_STRING }}
# If you only want to sync `type running` add args --only-run, default script is to sync all data (rides and runs).
# python run_page/garmin_sync.py ${{ secrets.GARMIN_SECRET_STRING }} --only-run

- name: Run sync Garmin CN script
if: env.RUN_TYPE == 'garmin_cn'
run: |
# python run_page/get_garmin_secret.py ${email} ${password} --is-cn
# python run_page/get_garmin_secret.py ${secrets.GARMIN_CN_EMAIL} ${secrets.GARMIN_CN_PASSWORD} --is-cn
python run_page/garmin_sync.py ${{ secrets.GARMIN_SECRET_STRING_CN }} --is-cn
# If you only want to sync `type running` add args --only-run, default script is to sync all data (rides and runs).
# python run_page/garmin_sync.py ${{ secrets.GARMIN_SECRET_STING_CN }} --only-run --is-cn
Expand Down

0 comments on commit 7cbb09c

Please sign in to comment.