Skip to content

Every analytics tool wants a subscription. And your data. I built Twiligent instead. YouTube stats. Instagram stats. One dashboard. Runs locally on your machine.

Fix Actions push: pull --rebase before push with retries

valzor4d8e85f1af08
diff --git a/.github/workflows/publish-scheduled.yml b/.github/workflows/publish-scheduled.yml
index ddb1d2c..6eee98e 100644
--- a/.github/workflows/publish-scheduled.yml
+++ b/.github/workflows/publish-scheduled.yml
@@ -62,4 +62,8 @@ jobs:
git config user.email "[email protected]"
git add backend/data/scheduled_posts.json
git diff --staged --quiet || git commit -m "📅 Auto-publish: $(date -u '+%Y-%m-%d %H:%M UTC') [skip ci]"
- git push
+ for i in 1 2 3; do
+ git pull --rebase origin main && git push && break
+ echo "Push attempt $i failed, retrying..."
+ sleep 2
+ done