11 lines
231 B
Bash
Executable file
11 lines
231 B
Bash
Executable file
#!/usr/bin/env zsh
|
|
|
|
rootdir=${0:h}
|
|
echo $rootdir
|
|
|
|
echo "Building RSS"
|
|
./mkrss.sh
|
|
echo "RSS Built"
|
|
echo -n "Publishing"
|
|
rsync --progress --partial -avHe ssh $rootdir/_site/ root@esy.fun:/var/www/her.esy.fun/ --delete
|
|
echo " [done]"
|