Skip to content

Commit be83570

Browse files
authored
Update branch-publish.yml (#32)
1 parent 8ecdffb commit be83570

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/branch-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ jobs:
9797
run: |
9898
if git ls-remote --exit-code --heads origin "${{ env.targetBranch }}"; then
9999
echo "Branch ${{ env.targetBranch }} already exists."
100+
git fetch origin "${{ env.targetBranch }}"
100101
git checkout "${{ env.targetBranch }}"
101102
git rm -rf .
102103
else

0 commit comments

Comments
 (0)