https://github.com/LuisGC/blog
Revision f4b1136a4319650a17e19e22b427277e4ab9994f authored by LuisGC on 05 February 2018, 20:56:11 UTC, committed by LuisGC on 05 February 2018, 20:56:11 UTC
1 parent 8a53308
Raw File
Tip revision: f4b1136a4319650a17e19e22b427277e4ab9994f authored by LuisGC on 05 February 2018, 20:56:11 UTC
FOSDEM intro and first talk written
Tip revision: f4b1136
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