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) ...@@ -23,12 +23,14 @@ PASSWORD=$(cat PASSWORD)
chmod -R 755 output || exit 1 chmod -R 755 output || exit 1
cd output || exit 1 cd output || exit 1
lftp<<END_SCRIPT lftp -e "open sftp://$HOST; user $USERNAME $PASSWORD; cd www; mirror -R --delete-first; exit"
open sftp://$HOST
user $USERNAME $PASSWORD # lftp<<END_SCRIPT
cd www # open sftp://$HOST
mirror -R --delete-first # user $USERNAME $PASSWORD
exit # cd www
END_SCRIPT # mirror -R --delete-first
# exit
# END_SCRIPT
echo "Website updated." 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