Raw File
machine:
  pre:
    - git config --global user.name "CircleCI"
    - git config --global user.email "circleci@circleci.com"

dependencies:
  pre:
    - go get -v github.com/gohugoio/hugo

test:
  override:
      - hugo check

deployment:
  master:
    branch:
      - master
    commands:
      - rm -rf docs
      - hugo -d docs -t hugo-future-imperfect
      - git add docs
      - git commit --message "Generated site on $(date) [ci skip]"
      - git push origin master
back to top