10 lines
269 B
Bash
Executable file
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
|