Skip to content

Commit 49f4319

Browse files
committed
fix: fixed the issue of git error
1 parent e9d07d4 commit 49f4319

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

.github/actions/deploy-code/action.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ runs:
5555
5656
else
5757
echo "Git folder already exists"
58-
# Ensure we're on the right branch
59-
git reset --hard HEAD
60-
git clean -fd
6158
git fetch origin ${{ inputs.branch }}
6259
git checkout ${{ inputs.branch }}
6360
git pull origin ${{ inputs.branch }}

0 commit comments

Comments
 (0)