mirror of
https://github.com/ShayManor/github-readme-stats.git
synced 2026-12-02 11:53:48 +05:30
fix(launch): back off build retries on GitHub limits, dedupe fetcher misses, no ad hoc render before first build
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -9,5 +9,9 @@ cd "$(dirname "$0")"
|
||||
mkdir -p "$HOME/ghstats/data/fetcher" "$HOME/ghstats/data/generator"
|
||||
|
||||
docker compose pull
|
||||
# Keep fetcher-cron stopped across a deploy if an operator stopped it (e.g.
|
||||
# during a sign-up spike); otherwise the recreated container runs at once.
|
||||
cron_was_stopped=$(docker inspect -f '{{.State.Status}}' ghstats-fetcher-cron 2>/dev/null | grep -qx exited && echo 1 || true)
|
||||
docker compose up -d --remove-orphans
|
||||
if [ -n "$cron_was_stopped" ]; then docker stop ghstats-fetcher-cron; fi
|
||||
docker compose ps
|
||||
|
||||
Reference in New Issue
Block a user