diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index c0203fd..37d5d77 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -9,6 +9,12 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: + # Monthly redeploy (1st of each month, 06:00 UTC) so the live stats injected + # at build time (GitHub stars/forks/contributors, PyPI downloads) stay fresh + # without needing a push. Scheduled runs always execute on the default branch. + schedule: + - cron: "0 6 1 * *" + # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: contents: read @@ -40,6 +46,12 @@ jobs: run: npm ci - name: Build site run: npm run build + - name: Refresh live stats + run: npm run stats + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + continue-on-error: true + timeout-minutes: 3 - name: Add .nojekyll run: touch dist/.nojekyll - name: Setup Pages diff --git a/about.html b/about.html index eefe8ba..fbe72dc 100644 --- a/about.html +++ b/about.html @@ -45,6 +45,7 @@ /> + @@ -53,45 +54,55 @@
+ Skip to content