Skip to content

Commit

Permalink
+1
Browse files Browse the repository at this point in the history
  • Loading branch information
SunSerega committed Apr 26, 2024
1 parent 1efaa99 commit c78e379
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/on commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ jobs:
for branch in $(git branch -r | grep '^origin/gh-pages/'); do
branch_name=$(echo $branch | sed 's#origin/gh-pages/##')
echo "Testing legacy branch $branch"
if ! git branch -r | grep -q "origin/$branch_name"; then
echo "Deleting legacy remote branch $branch"
echo "Deleting legacy branch $branch"
git push origin --delete $branch
fi
Expand Down

0 comments on commit c78e379

Please sign in to comment.