Skip to content

Commit

Permalink
chore: fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMSchmidt committed Feb 26, 2024
1 parent b5ab2ce commit 35b00fb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/registry-docs-pr-based.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,21 @@ jobs:
do
# Try-catch the rebasing to avoid issues with concurrent PRs
{
echo "Pulling and rebasing... $i/10"
git pull origin d-cdktf-docs-${{ github.run_id }}-${{ github.run_number }} --rebase
echo "Pushing... $i/10"
git push origin d-cdktf-docs-${{ github.run_id }}-${{ github.run_number }})
break
} || {
echo "Aborting rebase... $i/10"
git rebase --abort
} || echo "rebase could not be aborted, maybe no rebase is in progress?"
} || {
echo "Aborting failed... $i/10"
}
echo "Waiting until next run... $i/10"
sleep 15
done
echo "Script ending at run $i/10"
cdktfDocsCreatePR:
needs:
Expand Down

0 comments on commit 35b00fb

Please sign in to comment.