Browse Source

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

master
mb@mb 6 years ago
parent
commit
d7d3b2a6cb
  1. 2
      streambot.py

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

Loading…
Cancel
Save