https://github.com/LuisGC/blog
Revision 4b6e07cbee13a98fd4dd62c195af3b7feec18f1f authored by LuisGC on 18 February 2018, 16:47:42 UTC, committed by LuisGC on 18 February 2018, 16:47:42 UTC
1 parent 5e891e0
Raw File
Tip revision: 4b6e07cbee13a98fd4dd62c195af3b7feec18f1f authored by LuisGC on 18 February 2018, 16:47:42 UTC
remote branch fixed
Tip revision: 4b6e07c
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
back to top