Skip to content

Commit bd152ec

Browse files
♻️ fix(workflow): add retry loop to git push to handle transient HTTP 500 errors
1 parent 83edce4 commit bd152ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
git config user.email "github-actions[bot]@users.noreply.github.com"
2424
git add content
2525
git diff --cached --quiet || git commit -m "chore(content): sync docs submodule [skip ci]"
26-
git push
26+
for i in 1 2 3; do git push && break || sleep 5; done
2727
2828
- name: Purge Cloudflare cache
2929
run: |

0 commit comments

Comments
 (0)