about summary refs log tree commit diff
path: root/update_articles.sh
diff options
context:
space:
mode:
authoruser <user@node5.net>2024-03-11 13:50:36 +0100
committeruser <user@node5.net>2024-03-11 13:50:36 +0100
commite53a4ab8b101898b60c86bb64c6ef2adb401353a (patch)
tree6e1afd150b0add544ec32bac14b5cc12a2b5c533 /update_articles.sh
parent582f2f7ba842c1073f8e51c543670ba3edb41915 (diff)
add git hook update scripts
Diffstat (limited to 'update_articles.sh')
-rwxr-xr-xupdate_articles.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/update_articles.sh b/update_articles.sh
new file mode 100755
index 0000000..8e4850a
--- /dev/null
+++ b/update_articles.sh
@@ -0,0 +1,2 @@
+#!/usr/bin/bash
+cd /opt/blog.node5.net_flask/ && sudo -u blog git submodule update --recursive --remote && sudo systemctl reload blog.node5.net
\ No newline at end of file