more circle tweaks

main
Evan Hemsley 2019-09-15 12:21:55 -07:00
parent a6c67b0b64
commit a21e77d34a
1 changed files with 3 additions and 1 deletions

View File

@ -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 .