Commit | Line | Data |
---|---|---|
429c8025 | 1 | #!/bin/sh |
2 | ||
8e4503f3 | 3 | (cd src/unknownlamer.org && git push) |
429c8025 | 4 | |
8e4503f3 | 5 | (cd site/unknownlamer.org-repo && git pull) |
429c8025 | 6 | |
6c150d6a | 7 | (cd site-support && clisp -i ./books.lisp -x '(dump-muse-books-file)') |
429c8025 | 8 | |
9 | if [ "$1" = "--force" ]; then | |
10 | emacsclient --eval '(muse-project-publish "unknownlamer.org-clean" t)' | |
11 | else | |
12 | emacsclient --eval '(muse-project-publish "unknownlamer.org-clean")' | |
13 | fi | |
14 | ||
6c150d6a | 15 | # something is broken in my muse setup but just work around it for now |
16 | rm -f site/unknownlamer.org/index.html | |
17 | emacsclient --eval '(muse-project-publish "unknownlamer.org-clean")' | |
18 | ||
429c8025 | 19 | cd site/unknownlamer.org |
8e4503f3 CE |
20 | git pull ../unknownlamer.org-repo --no-edit |
21 | find . -name \* -print0 | xargs -0 git add | |
22 | git commit --all -m "html update" | |
23 | git push /afs/hcoop.net/user/c/cl/clinton/.hcoop-git/website/site/unknownlamer.org.git | |
24 | ||
25 | ||
26 | (cd /afs/hcoop.net/user/c/cl/clinton/public_html/unknownlamer.org/www/muse && git pull) |