From a6c67b0b64fd47642f90a5cf404f796f812f5a1d Mon Sep 17 00:00:00 2001 From: Evan Hemsley Date: Sun, 15 Sep 2019 12:16:59 -0700 Subject: [PATCH] blargh --- .circleci/config.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 875290c..b6e5cdd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,8 +16,7 @@ jobs: command: | if [ "${CIRCLE_BRANCH}" = "master" ]; then echo -e "Starting to deploy to Github Pages\n" - mkdir ~/repo - cd ~/repo + cd ~/project git config --global user.email "builds@circleci.com" git config --global user.name "CircleCI" #using token clone gh-pages branch @@ -25,7 +24,7 @@ jobs: #go into directory and copy data we're interested in to that directory cd built_website echo "rsync built code with checked out code..." - rsync -r --exclude=.git --delete ~/project/build ~/repo + rsync -r --exclude=.git --delete ~/project/public ./ #add, commit and push files echo "add files to git..." git add -f .