diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index c2ae7ed79ca..478a3014dc5 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -97,7 +97,7 @@ jobs: - name: Install dependencies run: pnpm install - name: Build - run: PATH_PREFIX=/${{ github.event.repository.name }} pnpm build + run: PATH_PREFIX=/ pnpm build - name: Upload artifact uses: actions/upload-pages-artifact@v2 diff --git a/.github/workflows/run_data_sync.yml b/.github/workflows/run_data_sync.yml index 6228df318f4..f3903af5044 100644 --- a/.github/workflows/run_data_sync.yml +++ b/.github/workflows/run_data_sync.yml @@ -35,7 +35,7 @@ env: # 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: 0 # Unit meter - SAVE_DATA_IN_GITHUB_CACHE: true # if you deploy in the vercal, check the README + 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` diff --git a/src/static/site-metadata.ts b/src/static/site-metadata.ts index 07f3ed4c456..b2f9e661ed3 100644 --- a/src/static/site-metadata.ts +++ b/src/static/site-metadata.ts @@ -11,17 +11,17 @@ interface ISiteMetadataResult { const data: ISiteMetadataResult = { siteTitle: 'Running Page', - siteUrl: 'https://yihong.run', + siteUrl: 'https://workout.520wa.com', 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: 'https://blog.520wa.com', }, { name: 'About', - url: 'https://github.com/yihong0618/running_page/blob/master/README-CN.md', + url: 'https://blog.520wa.com#About', }, ], };