Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzhizhia committed Jan 5, 2025
1 parent 4aff354 commit 5709a1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
else
# 更新现有 public 分支
git fetch origin public
git checkout public
git checkout public --
git reset --soft origin/public
rm -rf ./*
cp -r public/* .
Expand All @@ -104,4 +104,4 @@ jobs:
git commit -m "Update from main ${COMMIT_HASH}" -m "Source commit message:" -m "${COMMIT_MSG}"
git push origin public
fi
fi

0 comments on commit 5709a1f

Please sign in to comment.