Rebase and retry data push in workflow

This commit is contained in:
Justin Oros committed 2026-10-07 13:14:50 -07:00
1 parent bb190374e3
commit c9b8f0f972
1 file changed
+8 -1
+8 -1
View File
@@ -58,4 +58,11 @@ jobs:
exit 0 exit 0
fi fi
git commit -m "Update fiber data" git commit -m "Update fiber data"
git push for i in 1 2 3 4 5; do
if git pull --rebase -X theirs origin main && git push origin HEAD:main; then
exit 0
fi
git rebase --abort 2>/dev/null || true
sleep $((i * 10))
done
exit 1