https://github.com/LuisGC/blog
Revision 8b6d81aff92650a61fbe652906b4a3593d9dbaee authored by LuisGC on 18 February 2018, 17:13:40 UTC, committed by LuisGC on 18 February 2018, 17:13:40 UTC
2 parent s 9758d13 + b55baea
Raw File
Tip revision: 8b6d81aff92650a61fbe652906b4a3593d9dbaee authored by LuisGC on 18 February 2018, 17:13:40 UTC
Merge branch 'hugo'
Tip revision: 8b6d81a
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
      - git add docs
      - git commit --message "Generated site on $(date) [ci skip]"
      - git push origin hugo

test:
  override:
      - hugo check
back to top