main
km0 2 years ago
parent fdddd0ca15
commit a31ee3a2b9

@ -47,7 +47,7 @@ def txt_list():
return writings
def render_list():
subprocess.run(['update.sh'], shell=True)
subprocess.run(['sh', '/var/www/souptxt/update.sh'], shell=True)
with open('list.html', 'w+') as f:
f.write(render_template('home.html', writings=txt_list()))

@ -1,3 +1,4 @@
cd /var/www/souptxt/
rm -rf txt
git clone https://git.xpub.nl/kamo/txt.git txt
cd txt

Loading…
Cancel
Save