1
0
Fork 0

Jekyll stuff

This commit is contained in:
Luca Beltrame 2015-05-17 23:51:09 +02:00
parent db1b37ad4a
commit 26dd2ffd26
2 changed files with 57 additions and 0 deletions

11
jekyll_clone_repo.sh Normal file
View file

@ -0,0 +1,11 @@
#!/bin/bash
cloned_dir=$1
destination_dir=$2
function finish {
rm -rf "$cloned_dir"
}
trap finish EXIT
/usr/local/bin/jekyll build --source "$cloned_dir" --destination "$destination_dir" 2>&1 |& systemd-cat -t "jekyll-cloner" -p "info"