try to automate website update with the pelican command instead of the makefile
This commit is contained in:
parent
b3540df778
commit
d7d3b2a6cb
@ -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…
Reference in New Issue
Block a user