diff --git a/cmd.txt b/cmd.txt index 5b52f80..443ef22 100644 --- a/cmd.txt +++ b/cmd.txt @@ -3,4 +3,4 @@ jinja2 catalog.html.j2 catalog.yaml >| cliget.html brotli -f -q 11 -S br cliget.html - +./upload.sh diff --git a/upload.sh b/upload.sh new file mode 100755 index 0000000..673e470 --- /dev/null +++ b/upload.sh @@ -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 +