https://github.com/LuisGC/blog
Revision 39f9441ca6abdee47ecd85341336f194edfe2bb4 authored by CircleCI on 05 February 2018, 23:56:57 UTC, committed by CircleCI on 05 February 2018, 23:56:57 UTC
1 parent a07e6b3
Raw File
Tip revision: 39f9441ca6abdee47ecd85341336f194edfe2bb4 authored by CircleCI on 05 February 2018, 23:56:57 UTC
Generated site on Mon Feb 5 23:56:57 UTC 2018 [ci skip]
Tip revision: 39f9441
circle.yml
machine:
  pre:
    - git config --global user.name "CircleCI"
    - git config --global user.email "circleci@circleci.com"

dependencies:
  pre:
    - curl -s "https://get.sdkman.io" | bash
    - sdk install jbake 2.5.1

test:
  override:
    - sdk version
    - sdk current jbake

deployment:
  master:
    branch: master
    commands:
      - rm -rf docs/*
      - jbake -b . ./docs
      - 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 master
back to top