https://github.com/LuisGC/blog
Raw File
Tip revision: 17d7a0d31873783398506bc500cfa009e98d1a23 authored by LuisGC on 24 November 2018, 20:23:48 UTC
testing new image and build command
Tip revision: 17d7a0d
circle-10.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

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