Comments (9)
- 是同步的
- 理论上应该跟 GitHub 一样是你的数据。
from running_page.
是不是因为这里 https://github.com/gavenwan/running_page/actions/runs/8705624172/job/23876414423#step:8:25 ,没有新的跑步数据加入
我看这个 GitHub pages 上有页面,这个的数据是准确的吗 https://gavenwan.github.io/running_page/
from running_page.
- 是同步的
- 理论上应该跟 GitHub 一样是你的数据。
感谢,那肯定是我哪步操作有问题,我再去琢磨
from running_page.
是不是因为这里 https://github.com/gavenwan/running_page/actions/runs/8705624172/job/23876414423#step:8:25 ,没有新的跑步数据加入
我看这个 GitHub pages 上有页面,这个的数据是准确的吗 https://gavenwan.github.io/running_page/
是的,GitHub这个页面数据是准确的
from running_page.
是不是因为这里 https://github.com/gavenwan/running_page/actions/runs/8705624172/job/23876414423#step:8:25 ,没有新的跑步数据加入
我看这个 GitHub pages 上有页面,这个的数据是准确的吗 https://gavenwan.github.io/running_page/
你的意思是,因为我的keep同步数据没有更新,所以没能触发cloudflare与github同步前端页面,是这样理解吗?
因为我没搞清楚github action生成的前端页面去哪儿了以及怎么和cloudflare同步的(设置里是dist文件夹,但是这个项目的文件夹里没找到dist文件夹)
from running_page.
你的意思是,因为我的keep同步数据没有更新,所以没能触发cloudflare与github同步前端页面,是这样理解吗?
是的
我发现可能是这里出现了问题:
SAVE_DATA_IN_GITHUB_CACHE: true # 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_DATA_IN_GITHUB_CACHE
和 BUILD_GH_PAGES
,都设为 false。这样你就会触发这个 job step:
- name: Push new runs
if: env.SAVE_DATA_IN_GITHUB_CACHE != 'true'
run: |
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"
它会更新你的 src/static/activities.json 文件,这样你的 Cloudflare Pages 上的网页就可以自动更新了
from running_page.
你的意思是,因为我的keep同步数据没有更新,所以没能触发cloudflare与github同步前端页面,是这样理解吗?
是的
我发现可能是这里出现了问题:
SAVE_DATA_IN_GITHUB_CACHE: true # 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_DATA_IN_GITHUB_CACHE
和BUILD_GH_PAGES
,都设为 false。这样你就会触发这个 job step:- name: Push new runs if: env.SAVE_DATA_IN_GITHUB_CACHE != 'true' run: | 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"它会更新你的 src/static/activities.json 文件,这样你的 Cloudflare Pages 上的网页就可以自动更新了
感谢,实测了一下,将两个参数都设置为false,然后action运行一次,会自动下载keep所有数据,触发sync任务,未触发building github page任务,但是cloudflare那边没有触发重建任务,前端页面也并未发生变化。泪水
from running_page.
你的意思是,因为我的keep同步数据没有更新,所以没能触发cloudflare与github同步前端页面,是这样理解吗?
是的
我发现可能是这里出现了问题:
SAVE_DATA_IN_GITHUB_CACHE: true # 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_DATA_IN_GITHUB_CACHE
和BUILD_GH_PAGES
,都设为 false。这样你就会触发这个 job step:- name: Push new runs if: env.SAVE_DATA_IN_GITHUB_CACHE != 'true' run: | 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"它会更新你的 src/static/activities.json 文件,这样你的 Cloudflare Pages 上的网页就可以自动更新了
不知道我更改了data_sync哪里的设置,突然cloudflare的数据更新了
from running_page.
可能是data_sync的设置原因,目前已解决
from running_page.
Related Issues (20)
- gpx文件未生成 HOT 10
- localhost拒绝访问 HOT 2
- docs: README.md/README-CN.md 新增第一次部署後的操作導引(個人建議) HOT 3
- 資安疑慮:Mapbox token 只能明碼寫在`const.ts`中? HOT 12
- 使用--with-tcx参数获取咕咚数据,导出来的TCX文件导入Garmin还是会提示报错无法导入 HOT 1
- 看了几天代码,有几个自己的想法不知道对不对? HOT 21
- 我发现 Run Data Sync.yaml 在跑的时候-Garmin_cn 执行就死循环了 HOT 9
- 为什么数据库删除的数据前端还是有 HOT 2
- v HOT 1
- Can't get nike refresh_token HOT 3
- 数据库的地区格式不统一影响吗 HOT 2
- 悦跑圈抓取数据时错误,遇到错误:Max retries exceeded with url错误。 HOT 7
- 咨询下docker的工作原理 HOT 1
- 请教, 开始从咕咚拉数据的时,没有带 --with-gpx,后续怎么得到GPX数据 HOT 3
- 如何把国家涂上色 HOT 3
- 源自华米的GPX导入轨迹漂移,且心率为空 HOT 7
- [Function enhancement] SVG info source error caused by the inability to automate JoyRun HOT 6
- 悦跑圈数据导出时出现问题,还是网络问题 HOT 2
- 同步Keep数据报错index out of range HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from running_page.