From 36df3f47da8a7ea9b786d33fd6e695847909364e Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Mon, 30 Oct 2023 20:27:10 +0100 Subject: Revert "Use rclone for deploy (???)" This reverts commit 0bf7f444b493d56f07b83bc868183a12b66ba665. --- Rakefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index ad8abd3..b70aa4c 100644 --- a/Rakefile +++ b/Rakefile @@ -34,14 +34,13 @@ namespace :deploy do desc "Deploy via FTP" task :ftp => [:buildsite] do - sh "rclone", "-v", "sync", "_site/", "kasftp:" - #Dir.chdir "_site" + Dir.chdir "_site" # quicker, but possibly error-prone # sh "lftp", "-c", "set ftp:ssl-force true ; open w019f723.kasserver.com ; mirror -R --delete --verbose --ignore-time --no-perms --no-umask; bye" # always copy everything - #sh "lftp", "-c", "set ftp:ssl-force true ; set ssl:verify-certificate/92:9B:AD:F2:60:81:52:34:90:ED:C9:11:54:B3:80:A4:77:6E:21:85 no; open w019f723.kasserver.com ; mirror -R --delete --verbose --no-perms --no-umask -P 3; bye" - #Dir.chdir ".." + sh "lftp", "-c", "set ftp:ssl-force true ; set ssl:verify-certificate/92:9B:AD:F2:60:81:52:34:90:ED:C9:11:54:B3:80:A4:77:6E:21:85 no; open w019f723.kasserver.com ; mirror -R --delete --verbose --no-perms --no-umask -P 3; bye" + Dir.chdir ".." #sh "cat", "lftp.log" end -- cgit v1.2.3