diff --git a/upload-doc.sh b/upload-doc.sh new file mode 100755 index 0000000000000000000000000000000000000000..49872f08e061c20e8a9b301566f3c431b3107e64 --- /dev/null +++ b/upload-doc.sh @@ -0,0 +1,18 @@ +#!/bin/bash +make clean +for i in [0-1]*.md; do sed -i "s/\.md\#/\.html\#/g" $i; done +make html +read -p "Please enter your username for FTP server (ETSI On Line account): " USER_INPUT +read -sp "Please enter your password for FTP server: " PASSWORD_INPUT +echo +lftp -u $USER_INPUT,$PASSWORD_INPUT ftp://osm-download.etsi.org << ! + set ftp:ssl-allow no + lcd _build + cd Documentation + mirror -R html vnf-onboarding-guidelines-new + rm -r vnf-onboarding-guidelines + mv vnf-onboarding-guidelines-new vnf-onboarding-guidelines + bye +! +git reset --hard +