https://github.com/LuisGC/blog
Raw File
Tip revision: 07d049ef5ebff855bc484ae955aa3c3bbe878417 authored by CircleCI on 18 February 2018, 19:10 UTC
Generated site on Sun Feb 18 19:10:21 UTC 2018 [ci skip]
Tip revision: 07d049e
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:
      - master
      - hugo
    commands:
      - rm -rf docs
      - hugo -d docs -t hugo-future-imperfect
      - find docs -type f -exec sed -i 's/src="\/img/src="\/blog\/img/g' {} +
      - find docs -type f -exec sed -i 's/src=\"\/img/src=\"\/blog\/img/g' {} +
      - git add docs
      - git commit --message "Generated site on $(date) [ci skip]"
      - git push origin hugo

test:
  override:
      - hugo check
back to top