https://github.com/LuisGC/blog
Revision c002f3350ef244a4864942ac0fe7e2225c2871a0 authored by CircleCI on 06 January 2018, 13:35:25 UTC, committed by CircleCI on 06 January 2018, 13:35:25 UTC
1 parent 3b5843c
Raw File
Tip revision: c002f3350ef244a4864942ac0fe7e2225c2871a0 authored by CircleCI on 06 January 2018, 13:35:25 UTC
Generated site on Sat Jan 6 13:35:25 UTC 2018 [ci skip]
Tip revision: c002f33
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