Skip to content

Commit

Permalink
Configuring git to script
Browse files Browse the repository at this point in the history
  • Loading branch information
AfiMaameDufie committed Mar 22, 2023
1 parent d21b19f commit 37f8535
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .build_scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
echo 'source ${NVM_DIR}/nvm.sh' --install >> $BASH_ENV
- run:
name: Build Node v8 nvm
command: nvm install v1.1.2
command: nvm install v8.1.2
- run:
name: Install dependencies
command: |
Expand Down

0 comments on commit 37f8535

Please sign in to comment.