https://github.com/LuisGC/blog
Revision be8eab73b835220580a2ac037de220bffb359daa authored by LuisGC on 14 January 2018, 20:03:54 UTC, committed by LuisGC on 14 January 2018, 20:03:54 UTC
1 parent 6fe0602
Raw File
Tip revision: be8eab73b835220580a2ac037de220bffb359daa authored by LuisGC on 14 January 2018, 20:03:54 UTC
summary added
Tip revision: be8eab7
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