Skip to content

Commit 201989a

Browse files
committed
Use --global for git config
1 parent 9ea47bc commit 201989a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ echo "[notice] Set up cloned repo"
66
git clone $repo out -b $targetBranch
77
cd out
88
git pull
9-
git config user.name "${GITHUB_ACTOR}"
10-
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
9+
git config --global user.name "${GITHUB_ACTOR}"
10+
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
1111

1212
echo "[notice] Build main file"
1313
cp ../docs/docs.json $refName.json

0 commit comments

Comments
 (0)