feat: add upload catalog html page

This commit is contained in:
setop 2024-07-23 21:11:31 +02:00
parent e25a2355c0
commit 1a1f659c8a
2 changed files with 12 additions and 1 deletions

View File

@ -3,4 +3,4 @@
jinja2 catalog.html.j2 catalog.yaml >| cliget.html jinja2 catalog.html.j2 catalog.yaml >| cliget.html
brotli -f -q 11 -S br cliget.html brotli -f -q 11 -S br cliget.html
./upload.sh

11
upload.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh -eu
ftp -i -n $FTP_HOST << EEE
quote USER $FTP_USER
quote PASS $FTP_PASS
binary
cd www
mput cliget.htmlbr
quit
EEE