https://github.com/LuisGC/blog
Raw File
Tip revision: d8f7b152d502c8ca88df0f741b46f5c888f6bed8 authored by LuisGC on 18 February 2018, 17:48:52 UTC
merge
Tip revision: d8f7b15
circle.yml
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

deployment:
  master:
    branch: hugo
    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 hugo

test:
  override:
      - hugo check
back to top