https://github.com/LuisGC/blog
Revision 754f403bc489052a00792d375dd17da216af2246 authored by LuisGC on 12 January 2018, 18:54:02 UTC, committed by LuisGC on 12 January 2018, 18:54:02 UTC
1 parent c002f33
Tip revision: 754f403bc489052a00792d375dd17da216af2246 authored by LuisGC on 12 January 2018, 18:54:02 UTC
summary added, posts removed
summary added, posts removed
Tip revision: 754f403
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
Computing file changes ...