Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stars not getting updated #333

Open
sharadcodes opened this issue Jul 30, 2022 · 3 comments
Open

Stars not getting updated #333

sharadcodes opened this issue Jul 30, 2022 · 3 comments

Comments

@sharadcodes
Copy link
Contributor

sharadcodes commented Jul 30, 2022

Many of my themes have more stars now but the site is still showing the old count.
For example:

serial programmer

https://jamstackthemes.dev/theme/jekyll-theme-serial-programmer/

https://github.com/sharadcodes/jekyll-theme-serial-programmer

@RoneoOrg
Copy link
Contributor

Deleting data/themes.json before running npm run deploy seems to fix this issue, at least locally.
Fresh data are fetched, including Github starts, but the rebuild takes a looong time

@nunocoracao
Copy link
Contributor

+1 on old information on the site

@RoneoOrg
Copy link
Contributor

I'm running a fork[1] and found a way to update the stats:

  • delete data/themes.json
  • refresh the Github token
  • define X-GitHub-Api-Version in scripts/build/github.js (see the following commit)

I don't know if all these steps are required, please report your test results and I'll do the same.
Cheers

[1] See https://jamstack.club -- Source code: https://gitlab.com/Roneo/jamstack.club

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants