Skip to content

Commit

Permalink
twice
Browse files Browse the repository at this point in the history
  • Loading branch information
valiantlynx committed Sep 18, 2024
1 parent 1336dec commit 5314179
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gh-pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ find . -mindepth 1 -not -path "./build*" -not -path "./.git*" -not -name ".env"
&& (mv build/* build/.* . 2>/dev/null || true) \
&& rmdir build 2>/dev/null


sleep 2

# for some reason i have todo it twice

find . -mindepth 1 -not -path "./build*" -not -path "./.git*" -not -name ".env" -exec rm -rf {} + 2>/dev/null \
&& (mv build/* build/.* . 2>/dev/null || true) \
&& rmdir build 2>/dev/null
# Add changes to the new branch
git add .

Expand Down

0 comments on commit 5314179

Please sign in to comment.