Skip to content

Commit bd89530

Browse files
MarkusMarkus
Markus
authored and
Markus
committed
Work on iluwatar#218, fixed git config
git config must either be global or inside a repo. I moved the lines for initialization of git to only apply to the ghpagesclone.
1 parent b12bbb8 commit bd89530

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

update-ghpages.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
#!/bin/bash
22

3-
# Setup Git
4-
git config user.name "Travis-CI"
5-
git config user.email "[email protected]"
6-
73
# Clone gh-pages
84
git clone -b gh-pages "https://${GH_REF}" ghpagesclone
95
cd ghpagesclone
@@ -12,6 +8,10 @@ cd ghpagesclone
128
git submodule update --init --recursive
139
git submodule update --remote
1410

11+
# Setup Git
12+
git config user.name "Travis-CI"
13+
git config user.email "[email protected]"
14+
1515
# If there is a new version of the master branch
1616
if git status | grep patterns > /dev/null 2>&1
1717
then

0 commit comments

Comments
 (0)