-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d21b19f
commit 37f8535
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,9 @@ set -e # halt script on error | |
# If this is the deploy branch, push it up to gh-pages | ||
if [ $CIRCLE_BRANCH = ${DEPLOY_BRANCH} ]; then | ||
echo "Get ready, we're pushing to gh-pages!" | ||
git config user.name "CIRCLECI" | ||
git config user.email "[email protected]" | ||
node_modules/.bin/gh-pages -x -d _site -b gh-pages -r "https://${GH_TOKEN}@github.com/${CIRCLE_REPOSITORY_URL}.git" | ||
git config user.name $USERNAME | ||
git config user.email $EMAIL | ||
node_modules/.bin/gh-pages -x -d _site -b gh-pages-test -r "https://github.com/${CIRCLE_REPOSITORY_URL}.git" | ||
else | ||
echo "Not a publishable branch so we're all done here" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters