simulation-based-inference / simulation-based-inference.github.io

Website
https://simulation-based-inference.org
10 stars 4 forks source link

bug fix: duplicating post #40

Closed JasonLo closed 1 year ago

JasonLo commented 1 year ago

I am unable to determine the cause of the discrepancy in the post's date between server-side generation (using GitHub Actions) and local post generation. This results in two duplicate posts with the same title but differing dates (offset by one day).

To address this issue, I maintain a single source of truth in the SQLite scholar/paper.db and regenerate all the _post/*.md files whenever a daily pull action is initiated.