1
0
Fork 0
blog.kempkens.io/deploy

11 lines
269 B
Text
Raw Normal View History

2014-03-23 19:49:15 +00:00
#!/usr/bin/env bash
2014-03-24 14:29:34 +00:00
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