https://github.com/LuisGC/blog
Revision 5efde7da852b4fc54f6d5d1f59b996d4b59750cb authored by CircleCI on 22 January 2018, 22:36:37 UTC, committed by CircleCI on 22 January 2018, 22:36:37 UTC
1 parent 98d9fd1
Raw File
Tip revision: 5efde7da852b4fc54f6d5d1f59b996d4b59750cb authored by CircleCI on 22 January 2018, 22:36:37 UTC
Generated site on Mon Jan 22 22:36:37 UTC 2018 [ci skip]
Tip revision: 5efde7d
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