Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b12bbb8 commit bd89530Copy full SHA for bd89530
update-ghpages.sh
@@ -1,9 +1,5 @@
1
#!/bin/bash
2
3
-# Setup Git
4
-git config user.name "Travis-CI"
5
-git config user.email "[email protected]"
6
-
7
# Clone gh-pages
8
git clone -b gh-pages "https://${GH_REF}" ghpagesclone
9
cd ghpagesclone
@@ -12,6 +8,10 @@ cd ghpagesclone
12
git submodule update --init --recursive
13
git submodule update --remote
14
10
11
+# Setup Git
+git config user.name "Travis-CI"
+git config user.email "[email protected]"
+
15
# If there is a new version of the master branch
16
if git status | grep patterns > /dev/null 2>&1
17
then
0 commit comments