From d7d3b2a6cb1b2263fdc48879618a5d0abd9fa1d9 Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Fri, 9 Mar 2018 19:05:16 +0100 Subject: [PATCH] try to automate website update with the pelican command instead of the makefile --- streambot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streambot.py b/streambot.py index 6221f45..7c34895 100644 --- a/streambot.py +++ b/streambot.py @@ -85,7 +85,7 @@ class ArchivistBot(ClientXMPP): urllib.urlretrieve(msg['oob']['url'], targetFile, context=ctx) logging.getLogger().debug("saved to %s" % targetFile) - cmd = '/home/gitea/clones/varia/varia.website/make publish' + cmd = 'pelican /path/to/your/content/ /home/gitea/clones/varia/varia.website/content/' print(cmd) os.system(cmd)