Skip to content

Commit

Permalink
update deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
app-harry committed Oct 27, 2024
1 parent 19caf1a commit 44d3849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ flush() {

for item in ./* .[^.]*; do
# skip ./_output and CNAME
if [[ "$item" != "./_output" && "$item" != "./CNAME" ]]; then
if [[ "$item" != "./_output" && "$item" != "./.git" && "$item" != "./.github" && "$item" != "./CNAME" ]]; then
rm -rf "$item"
fi
done
Expand Down

0 comments on commit 44d3849

Please sign in to comment.