1
0
Fork 0
blog.kempkens.io/deploy
2014-03-24 15:29:34 +01:00

10 lines
269 B
Bash
Executable file

#!/usr/bin/env bash
echo "=== Generating static files"
jekyll build
echo "=== Syncing files"
rsync -avz --no-o --no-g -e ssh --chmod=og=r -p --delete _site/ kempkens:/var/www/blog
echo "=== Changing permissions"
ssh kempkens chown -R www-data:www-data /var/www/blog