From 8567e24d5721575eb6eaca81bbc9c69c49b81815 Mon Sep 17 00:00:00 2001 From: Gordon Tisher Date: Fri, 1 Nov 2024 14:34:46 -0700 Subject: [PATCH] git rm fun --- .github/workflows/main-push-update-docs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main-push-update-docs.yml b/.github/workflows/main-push-update-docs.yml index 3b97277..e6b29d1 100644 --- a/.github/workflows/main-push-update-docs.yml +++ b/.github/workflows/main-push-update-docs.yml @@ -39,9 +39,10 @@ jobs: - name: Copy Files and Commit run: | cd ./chalcolith.github.io - git rm -r ./eohippus/* + git rm -r -f --quiet ./eohippus/ cd .. - cp -R ./build/eohippus-docs/site/* ./chalcolith.github.io/eohippus/ + mkdir -p ./chalcolith.github.io/eohippus + cp -a ./build/eohippus-docs/site/* ./chalcolith.github.io/eohippus cd ./chalcolith.github.io git add . git config user.name "Eohippus GitHub Actions"