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 b61de4e commit 104bc1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,10 @@ jobs:
git fetch origin public || true
git switch public 2>/dev/null || git switch --orphan public
find . -mindepth 1 -maxdepth 1 ! -name .git -exec rm -rf {} +
find . -mindepth 1 -maxdepth 1 ! -name .git ! -name public -exec rm -rf {} +
cp -r public/* .
rm -rf public
git add -A
if ! git diff --staged --quiet; then
Expand Down

0 comments on commit 104bc1f

Please sign in to comment.