aboutsummaryrefslogtreecommitdiff
path: root/blog_update.sh
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2017-10-12 15:13:13 +0200
committerKatharina Fey <kookie@spacekookie.de>2017-10-12 15:13:13 +0200
commit964d22f599ab7f300663e4ef3dac0f8749b1076d (patch)
tree5ab4ded280c12e230fdb34bef1839ec683e854c0 /blog_update.sh
parentb004cfd65b993a92a24767a9b022fb4e04554e7d (diff)
Moving all of the website into the public repo. This is a mess
Diffstat (limited to 'blog_update.sh')
-rwxr-xr-xblog_update.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/blog_update.sh b/blog_update.sh
new file mode 100755
index 0000000..017b215
--- /dev/null
+++ b/blog_update.sh
@@ -0,0 +1,11 @@
+# Get to the right location
+sudo lxc-attach -n spacekookie
+cd /var/www/website
+
+# Update the data
+git pull
+
+# Re-generate
+rm -rf output/
+. env/bin/activate
+pelican content/ \ No newline at end of file