Fix deploy action by specifying '--local' for git config
diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.yml
index 185239a..1f65ea1 100644
--- a/.github/workflows/deploy-site.yml
+++ b/.github/workflows/deploy-site.yml
@@ -66,8 +66,8 @@
author_email=$(git log -1 --format='%aE' HEAD)
echo "Setting up author data to use for deploy commit"
- git config user.name $author_name
- git config user.email $author_email
+ git config --local user.name $author_name
+ git config --local user.email $author_email
# Adds additional configuration files that are supposed to be included in the page deploy to the build directory
diff --git a/.github/workflows/recreate-site-branch.yml b/.github/workflows/recreate-site-branch.yml
index 5a1182f..6a7d6da 100644
--- a/.github/workflows/recreate-site-branch.yml
+++ b/.github/workflows/recreate-site-branch.yml
@@ -57,8 +57,8 @@
author_email=$(git log -1 --format='%aE' HEAD)
echo "Setting up author data to use for deploy commit"
- git config user.name $author_name
- git config user.email $author_email
+ git config --local user.name $author_name
+ git config --local user.email $author_email
# Creates and checks out a new orphan branch used to publish the site