Skip to content

Commit

Permalink
chore: add a subshell
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMSchmidt committed Dec 20, 2023
1 parent 6ce439f commit 0f9ebdc
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 @@ -82,7 +82,7 @@ jobs:
fetch-depth: 0 # complete checkout
# Delete all branches that start with d-cdktf-docs-
- run: |
BRANCHES_TO_DELETE=git branch -r | grep -Eo 'd-cdktf-docs-[0-9]+-[0-9]+'
BRANCHES_TO_DELETE=$(git branch -r | grep -Eo 'd-cdktf-docs-[0-9]+-[0-9]+')
for branch in $BRANCHES_TO_DELETE; do
git push origin --delete $branch
done
Expand Down

0 comments on commit 0f9ebdc

Please sign in to comment.