From c9defd1f64c4f48133aecdbbf405fa174ba8ff9c Mon Sep 17 00:00:00 2001 From: Jafner <40403594+Jafner@users.noreply.github.com> Date: Thu, 30 Sep 2021 06:41:49 -0700 Subject: [PATCH] Reorder git commands --- 5etools-docker/init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/5etools-docker/init.sh b/5etools-docker/init.sh index 6988c888..10ff5bf6 100644 --- a/5etools-docker/init.sh +++ b/5etools-docker/init.sh @@ -102,12 +102,12 @@ else if [ -d "./.git" ]; then # if a git repository already exists git pull upstream $DL_LINK else # if no git repository exists + git config --global user.email "autodeploy@jafner.tools" + git config --global user.name "AutoDeploy" git init git add . git commit -m "Init" git remote add upstream $DL_LINK - git config --global user.email "autodeploy@jafner.tools" - git config --global user.name "AutoDeploy" fi echo " === Using latest version on $DL_LINK" echo " === Starting!"