forked from yihong0618/running_page
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 "[email protected]" | ||
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" | ||
|