Skip to content

Commit 37f8535

Browse files
committed
Configuring git to script
1 parent d21b19f commit 37f8535

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.build_scripts/deploy.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ set -e # halt script on error
44
# If this is the deploy branch, push it up to gh-pages
55
if [ $CIRCLE_BRANCH = ${DEPLOY_BRANCH} ]; then
66
echo "Get ready, we're pushing to gh-pages!"
7-
git config user.name "CIRCLECI"
8-
git config user.email "circleci@somewhere.com"
9-
node_modules/.bin/gh-pages -x -d _site -b gh-pages -r "https://${GH_TOKEN}@github.com/${CIRCLE_REPOSITORY_URL}.git"
7+
git config user.name $USERNAME
8+
git config user.email $EMAIL
9+
node_modules/.bin/gh-pages -x -d _site -b gh-pages-test -r "https://github.com/${CIRCLE_REPOSITORY_URL}.git"
1010
else
1111
echo "Not a publishable branch so we're all done here"
1212
fi

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
echo 'source ${NVM_DIR}/nvm.sh' --install >> $BASH_ENV
2121
- run:
2222
name: Build Node v8 nvm
23-
command: nvm install v1.1.2
23+
command: nvm install v8.1.2
2424
- run:
2525
name: Install dependencies
2626
command: |

0 commit comments

Comments
 (0)