bin/publish-blog.sh
Sami Samhuri ffe45ed13f Revert "remove unused publish scripts"
This reverts commit 9198f8b49f.
2011-12-03 14:26:41 -08:00

17 lines
262 B
Bash
Executable file

#!/bin/bash
if [[ -d ~/Projects/web/samhuri.net ]]; then
cd ~/Projects/web/samhuri.net
elif [[ -d ~/samhuri.net ]]; then
cd ~/samhuri.net
else
echo "error: samhuri.net directory not found"
exit 1
fi
cd _blog
git clean -fq
git pull
cd ..
make publish_blog