Skip to content

Commit

Permalink
ci: improve cleanup script
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Mar 1, 2024
1 parent 14df404 commit 2e4713c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/sudo-bot/create-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ moveBuildToTempFolder() {

cleanGhPages() {
git checkout gh-pages
git ls-files ./ | xargs -r -n 1 rm
rm -rfd ./*
git ls-files ./ | xargs -r -n 1 rm -v
find ./ -print
rm -rfdv ./*
}

moveBuildFilesToCurrentDir() {
Expand Down

0 comments on commit 2e4713c

Please sign in to comment.