summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmakesite.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/makesite.sh b/makesite.sh
new file mode 100755
index 0000000..8f646ed
--- /dev/null
+++ b/makesite.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# Lots of hard coded foo here. This is very digithink.com specific.
+{ echo "====================== Start Build `date`==================="
+ cd /var/www/bartender/repo
+ git pull && mkdocs build
+ rm -rf ../osite
+ mv ../site ../osite
+ mv site ..
+ echo "=========================== Done: `date` ===================="
+}| tee logs/pullandbuild.out