Skip to content

Commit

Permalink
Update update_book.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorcampbell authored Aug 21, 2024
1 parent ca32e0e commit 9ee1744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update_book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:

- name: Clean the site contents except for dev, pull contents of dev/ to main site
run: |
# delete everything except the dev folder
find . ! -name "dev" -maxdepth 1 -delete
# delete everything except the dev and .git folders
find . -maxdepth 1 ! -name ".git" ! -name "dev" ! -name "." | xargs rm -rf
# copy the contents of dev into the root
cp -rf dev/* .
Expand Down

0 comments on commit 9ee1744

Please sign in to comment.