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 .