link gnulib-tool into ~/bin
[james-home.git] / bin / publishsite
blobe9282e3d23544505e8b9fc93c6808a6a75f2d260
1 #!/bin/sh
3 #cd $TMP/resume
4 git pull
5 emacs --batch --no-init-file \
6 --eval "(require 'org)" \
7 --eval '(org-babel-tangle-file "readme.org" nil "makefile")'
9 make
10 chmod g+w /home/james/public_html/jamestechnotes.com
11 find /home/james/public_html/jamestechnotes.com -type d -exec chmod go+rx {} \;
12 find /home/james/public_html/jamestechnotes.com -type f -exec chmod go+r {} \;
13 rsync -avz --exclude='admin/' --exclude='/.nfsn-awicons/' --progress --stats --delete /home/james/public_html/jamestechnotes.com/ jamestechnotes.com:/home/public/