Revert "remove unused publish scripts"

This reverts commit 9198f8b49f.
This commit is contained in:
Sami Samhuri 2011-12-03 14:26:41 -08:00
parent 9198f8b49f
commit ffe45ed13f
2 changed files with 37 additions and 0 deletions

17
publish-blog.sh Executable file
View file

@ -0,0 +1,17 @@
#!/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

20
publish-samhuri.net.sh Executable file
View file

@ -0,0 +1,20 @@
#!/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 ..
git clean -fq
git pull
make publish