Skip to content

Commit

Permalink
refactor: modify from yihong0618
Browse files Browse the repository at this point in the history
  • Loading branch information
jujimeizuo committed Sep 26, 2023
1 parent 4b5accd commit 8d12517
Show file tree
Hide file tree
Showing 21 changed files with 20 additions and 40 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/run_data_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,22 @@ on:

env:
# please change to your own config.
RUN_TYPE: pass # support strava/nike/garmin/garmin_cn/keep/only_gpx/only_fit/nike_to_strava/strava_to_garmin/strava_to_garmin_cn/garmin_to_strava/garmin_to_strava_cn/codoon, Please change the 'pass' it to your own
ATHLETE: yihong0618
TITLE: Yihong0618 Running
MIN_GRID_DISTANCE: 10 # change min distance here
TITLE_GRID: Over 10km Runs # also here
GITHUB_NAME: yihong0618 # change to yours
GITHUB_EMAIL: zouzou0208@gmail.com # change to yours
RUN_TYPE: keep # support strava/nike/garmin/garmin_cn/keep/only_gpx/nike_to_strava/strava_to_garmin/strava_to_garmin_cn/garmin_to_strava/garmin_to_strava_cn, Please change the 'pass' it to your own
ATHLETE: 馮則濤
TITLE: jujimeizuo Running
MIN_GRID_DISTANCE: 1 # change min distance here
TITLE_GRID: Over 1km Runs # also here
GITHUB_NAME: jujimeizuo
GITHUB_EMAIL: fengzetao.zed@foxmail.com

# IGNORE_BEFORE_SAVING: True # if you want to ignore some data before saving, set this to True
IGNORE_START_END_RANGE: 10 # Unit meter
IGNORE_START_END_RANGE: 1 # Unit meter
# Dont making this huge, just picking points you needing. https://developers.google.com/maps/documentation/utilities/polylineutility using this tool to making your polyline
IGNORE_POLYLINE: 'ktjrFoemeU~IorGq}DeB'
IGNORE_RANGE: 10 # Unit meter
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`
BUILD_GH_PAGES: false # If you do not need GitHub Page please set it to `false`

jobs:
sync:
Expand Down
2 changes: 1 addition & 1 deletion assets/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions assets/github_2021.svg

This file was deleted.

2 changes: 0 additions & 2 deletions assets/github_2022.svg

This file was deleted.

2 changes: 0 additions & 2 deletions assets/github_2023.svg

This file was deleted.

2 changes: 1 addition & 1 deletion assets/grid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions assets/year_2012.svg

This file was deleted.

2 changes: 0 additions & 2 deletions assets/year_2013.svg

This file was deleted.

2 changes: 0 additions & 2 deletions assets/year_2014.svg

This file was deleted.

2 changes: 0 additions & 2 deletions assets/year_2015.svg

This file was deleted.

2 changes: 0 additions & 2 deletions assets/year_2016.svg

This file was deleted.

2 changes: 0 additions & 2 deletions assets/year_2017.svg

This file was deleted.

2 changes: 0 additions & 2 deletions assets/year_2018.svg

This file was deleted.

2 changes: 1 addition & 1 deletion assets/year_2019.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/year_2020.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/year_2021.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/year_2022.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/year_2023.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added run_page/data.db
Binary file not shown.
2 changes: 1 addition & 1 deletion src/static/activities.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/static/site-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ interface ISiteMetadataResult {

const data: ISiteMetadataResult = {
siteTitle: 'Running Page',
siteUrl: 'https://yihong.run',
siteUrl: 'https://run.jujimeizuo.cn',
logo: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQTtc69JxHNcmN1ETpMUX4dozAgAN6iPjWalQ&usqp=CAU',
description: 'Personal site and blog',
navLinks: [
{
name: 'Blog',
url: 'https://github.com/yihong0618/gitblog',
url: 'http://www.jujimeizuo.cn/blog',
},
{
name: 'About',
url: 'https://github.com/yihong0618/running_page/blob/master/README-CN.md',
url: 'https://github.com/jujimeizuo/running_page/blob/master/README-CN.md',
},
],
};
Expand Down

1 comment on commit 8d12517

@vercel
Copy link

@vercel vercel bot commented on 8d12517 Sep 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.