From 1f2b35ace46daf78a575c563c54d0eb70ea193f8 Mon Sep 17 00:00:00 2001 From: Gordon Tisher Date: Fri, 1 Nov 2024 14:26:44 -0700 Subject: [PATCH] use git rm --- .github/workflows/main-push-update-docs.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main-push-update-docs.yml b/.github/workflows/main-push-update-docs.yml index b7f2035..97a155f 100644 --- a/.github/workflows/main-push-update-docs.yml +++ b/.github/workflows/main-push-update-docs.yml @@ -38,14 +38,13 @@ jobs: fetch-depth: 0 - name: Copy Files and Commit run: | - rm -rf ./chalcolith.github.io/eohippus/* cd ./chalcolith.github.io - git add . + git rm ./eohippus/* cd .. cp -R ./build/eohippus-docs/site/* ./chalcolith.github.io/eohippus/ + git add . cd ./chalcolith.github.io git config user.name "Eohippus GitHub Actions" git config user.email "<>" - git add . git commit -m "Updated Eohippus documentation on `date`" git push