diff --git a/.github/workflows/run_data_sync.yml b/.github/workflows/run_data_sync.yml index 91ce81c7b2c..ce182c0ee9e 100644 --- a/.github/workflows/run_data_sync.yml +++ b/.github/workflows/run_data_sync.yml @@ -25,7 +25,7 @@ env: SAVE_DATA_IN_GITHUB_CACHE: false # if you deploy in the vercal, check the README DATA_CACHE_PREFIX: 'track_data' BUILD_GH_PAGES: true # If you do not need GitHub Page please set it to `false` - SAVE_TO_PARQENT: false # If you want to save the data to the repo, set it to `true` + SAVE_TO_PARQENT: true # If you want to save the data to the repo, set it to `true` jobs: sync: @@ -207,8 +207,8 @@ jobs: - name: Push new runs if: env.SAVE_DATA_IN_GITHUB_CACHE != 'true' run: | - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" + git config --local user.email "${{ env.GITHUB_EMAIL }}" + git config --local user.name "${{ env.GITHUB_NAME }}" git add . git commit -m 'update new runs' || echo "nothing to commit" git push || echo "nothing to push"