|
@ -85,7 +85,7 @@ class ArchivistBot(ClientXMPP): |
|
|
urllib.urlretrieve(msg['oob']['url'], targetFile, context=ctx) |
|
|
urllib.urlretrieve(msg['oob']['url'], targetFile, context=ctx) |
|
|
logging.getLogger().debug("saved to %s" % targetFile) |
|
|
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) |
|
|
print(cmd) |
|
|
os.system(cmd) |
|
|
os.system(cmd) |
|
|
|
|
|
|
|
|