Skip to content

Commit 8196254

Browse files
committed
fix: fix del exist target branch
1 parent 0fcd867 commit 8196254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
COMMIT_MSG=$(git log -1 --pretty=%B)
3636
3737
if git ls-remote --heads origin ${TARGET_BRANCH} | grep ${TARGET_BRANCH}; then
38-
git push origin --delete
38+
git push origin --delete ${TARGET_BRANCH}
3939
fi
4040
4141
find . -mindepth 1 -maxdepth 1 ! -name 'docs' ! -name '.git' -exec rm -rf {} +

0 commit comments

Comments
 (0)