9 lines
245 B
Bash
Executable file
9 lines
245 B
Bash
Executable file
#!/bin/bash -l
|
|
GIT_REPO=$HOME/repositories/blog.git
|
|
TMP_GIT_CLONE=$HOME/tmp/git/blog
|
|
PUBLIC_WWW=/var/www/www/testbuild
|
|
|
|
git clone $GIT_REPO $TMP_GIT_CLONE
|
|
jekyll build --source $TMP_GIT_CLONE --destination $PUBLIC_WWW
|
|
rm -Rf $TMP_GIT_CLONE
|
|
exit
|