try to automate website update with the pelican command instead of the makefile

This commit is contained in:
mb@mb 2018-03-09 19:05:16 +01:00
parent b3540df778
commit d7d3b2a6cb

View File

@ -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)