From a21e77d34a3b156b9a1f1c6f66c95dad419f73c9 Mon Sep 17 00:00:00 2001 From: Evan Hemsley Date: Sun, 15 Sep 2019 12:21:55 -0700 Subject: [PATCH] more circle tweaks --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b6e5cdd..85424f4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,8 +11,9 @@ jobs: - checkout - run: name: "Run Hugo" - command: HUGO_ENV=production hugo -v -s ~/project + command: HUGO_ENV=production hugo -v - deploy: + name: "Deploy website" command: | if [ "${CIRCLE_BRANCH}" = "master" ]; then echo -e "Starting to deploy to Github Pages\n" @@ -25,6 +26,7 @@ jobs: cd built_website echo "rsync built code with checked out code..." rsync -r --exclude=.git --delete ~/project/public ./ + mv ./public ./bonk #add, commit and push files echo "add files to git..." git add -f .