Add update script
authorPieter De Praetere <pieter.de.praetere@helptux.be>
Fri, 29 Jan 2021 22:16:39 +0000 (23:16 +0100)
committerPieter De Praetere <pieter.de.praetere@helptux.be>
Fri, 29 Jan 2021 22:16:39 +0000 (23:16 +0100)
scripts/update.sh [new file with mode: 0644]

diff --git a/scripts/update.sh b/scripts/update.sh
new file mode 100644 (file)
index 0000000..6e9c9b8
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+cd /var/opt/app/fosdem_submission/html/stands-website
+
+git pull origin master
+
+git submodule init
+git submodule update
+
+hugo
+
+exit 0
\ No newline at end of file