From 9ee17440aa277d68b4ff3ef1a36303c06b9d2c04 Mon Sep 17 00:00:00 2001 From: Trevor Campbell Date: Wed, 21 Aug 2024 16:38:19 -0700 Subject: [PATCH 1/2] Update update_book.yml --- .github/workflows/update_book.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_book.yml b/.github/workflows/update_book.yml index bed34184..dbbc351a 100644 --- a/.github/workflows/update_book.yml +++ b/.github/workflows/update_book.yml @@ -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/* . From 2e49dc4020c313fd3064dd359d3daae3f7d499ad Mon Sep 17 00:00:00 2001 From: Trevor Campbell Date: Wed, 21 Aug 2024 16:38:35 -0700 Subject: [PATCH 2/2] force rebuild --- index.Rmd | 1 - 1 file changed, 1 deletion(-) diff --git a/index.Rmd b/index.Rmd index fdfe9d48..9c4beee9 100755 --- a/index.Rmd +++ b/index.Rmd @@ -54,4 +54,3 @@ knitr::include_graphics("img/frontmatter/ds-a-first-intro-cover.jpg") This work by [Tiffany Timbers](https://www.tiffanytimbers.com/), [Trevor Campbell](https://trevorcampbell.me/), and [Melissa Lee](https://www.stat.ubc.ca/users/melissa-lee) is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-nc-sa/4.0/). -