Skip to content
Snippets Groups Projects
Commit 90aa1371 authored by bbartels's avatar bbartels
Browse files

website: try new lftp script

parent 9645252f
No related branches found
No related tags found
1 merge request!1website: Use Pelican instead of Jekyll for convenience
No preview for this file type
No preview for this file type
......@@ -23,12 +23,14 @@ PASSWORD=$(cat PASSWORD)
chmod -R 755 output || exit 1
cd output || exit 1
lftp<<END_SCRIPT
open sftp://$HOST
user $USERNAME $PASSWORD
cd www
mirror -R --delete-first
exit
END_SCRIPT
lftp -e "open sftp://$HOST; user $USERNAME $PASSWORD; cd www; mirror -R --delete-first; exit"
# lftp<<END_SCRIPT
# open sftp://$HOST
# user $USERNAME $PASSWORD
# cd www
# mirror -R --delete-first
# exit
# END_SCRIPT
echo "Website updated."
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment