https://github.com/LuisGC/blog
Revision 8829aa31bc655f27cdfc743ac04bdd3b700462aa authored by LuisGC on 14 January 2018, 17:44:11 UTC, committed by LuisGC on 14 January 2018, 17:44:11 UTC
1 parent ac44441
Tip revision: 8829aa31bc655f27cdfc743ac04bdd3b700462aa authored by LuisGC on 14 January 2018, 17:44:11 UTC
summary added
summary added
Tip revision: 8829aa3
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 ...