diff --git a/.github/workflows/main-push-update-docs.yml b/.github/workflows/main-push-update-docs.yml index 429b120..c06f01a 100644 --- a/.github/workflows/main-push-update-docs.yml +++ b/.github/workflows/main-push-update-docs.yml @@ -38,8 +38,11 @@ jobs: fetch-depth: 0 - name: Copy Files and Commit run: | - cp -R ./build/eohippus-docs/site/* ./chalcolith.github.io/eohippus/ + rm -rf ./chalcolith.github.io/eohippus/* cd ./chalcolith.github.io + git add . + cd .. + cp -R ./build/eohippus-docs/site/* ./chalcolith.github.io/eohippus/ git config user.name "Eohippus GitHub Actions" git config user.email "<>" git add .