From 84ffd06ecb3702acb2249d261d2b74818194f93e Mon Sep 17 00:00:00 2001 From: RealTiny656 Date: Sat, 23 Sep 2023 21:10:20 +0800 Subject: [PATCH] fix wrong path (#498) --- .github/workflows/gh-pages.yml | 2 +- .github/workflows/run_data_sync.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index a799bdb4893..6850b560885 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -59,7 +59,7 @@ jobs: TCX_OUT FIT_OUT Workouts - scripts/data.db + run_page/data.db src/static/activities.json imported.json key: ${{ inputs.data_cache_prefix }}-${{ github.sha }}-${{ github.run_id }} diff --git a/.github/workflows/run_data_sync.yml b/.github/workflows/run_data_sync.yml index 19c04c47cd4..fdf756ce14b 100644 --- a/.github/workflows/run_data_sync.yml +++ b/.github/workflows/run_data_sync.yml @@ -74,7 +74,7 @@ jobs: TCX_OUT FIT_OUT Workouts - scripts/data.db + run_page/data.db src/static/activities.json imported.json key: ${{ env.DATA_CACHE_PREFIX }}-${{ github.sha }}-${{ github.run_id }} @@ -100,9 +100,9 @@ jobs: - name: Run sync Strava script if: env.RUN_TYPE == 'strava' run: | - python scripts/strava_sync.py ${{ secrets.STRAVA_CLIENT_ID }} ${{ secrets.STRAVA_CLIENT_SECRET }} ${{ secrets.STRAVA_CLIENT_REFRESH_TOKEN }} + python run_page/strava_sync.py ${{ secrets.STRAVA_CLIENT_ID }} ${{ secrets.STRAVA_CLIENT_SECRET }} ${{ secrets.STRAVA_CLIENT_REFRESH_TOKEN }} # If you only want to sync `type running` add args --only-run, default script is to sync all data (rides and runs). - # python scripts/garmin_sync.py ${{ secrets.GARMIN_EMAIL }} ${{ secrets.GARMIN_PASSWORD }} --only-run --is-cn + # python run_page/garmin_sync.py ${{ secrets.GARMIN_EMAIL }} ${{ secrets.GARMIN_PASSWORD }} --only-run --is-cn - name: Run sync Codoon script if: env.RUN_TYPE == 'codoon' @@ -132,12 +132,12 @@ jobs: - name: Run sync Only FIT script if: env.RUN_TYPE == 'only_fit' run: | - python scripts/fit_sync.py + python run_page/fit_sync.py - name: Run sync Only TCX script if: env.RUN_TYPE == 'only_tcx' run: | - python scripts/tcx_sync.py + python run_page/tcx_sync.py - name: Run sync Strava to Garmin(Run with strava(or others upload to strava) data backup in Garmin) if: env.RUN_TYPE == 'strava_to_garmin'