Skip to content

Commit

Permalink
chore: make docs retry mechanism more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMSchmidt committed Feb 26, 2024
1 parent 69e192b commit 996e081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/registry-docs-pr-based.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ jobs:
git checkout -b d-cdktf-docs-${{ github.run_id }}-${{ github.run_number }}
git add .
git commit -m "cdktf: update ${{ matrix.files }}"
for i in $(seq 1 10); do (git pull origin d-cdktf-docs-${{ github.run_id }}-${{ github.run_number }} --rebase && git push origin d-cdktf-docs-${{ github.run_id }}-${{ github.run_number }}) && break || (git rebase --abort && sleep 15); done
for i in $(seq 1 10); do git pull origin d-cdktf-docs-${{ github.run_id }}-${{ github.run_number }} --rebase && git push origin d-cdktf-docs-${{ github.run_id }}-${{ github.run_number }}) && break || ((git rebase --abort || echo 'rebase could not be aborted, maybe no rebase is in progress?') && sleep 15); done
cdktfDocsCreatePR:
needs:
Expand Down

0 comments on commit 996e081

Please sign in to comment.