summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruvok cheetah2023-10-30 20:20:16 +0100
committeruvok cheetah2023-10-30 20:20:16 +0100
commit0bf7f444b493d56f07b83bc868183a12b66ba665 (patch)
tree6079669ee63a9f3bbc563dd557eacb9d818aa2d9
parentbbd1523c2b4456ec25f98c5b3a7550ad8df1113d (diff)
Use rclone for deploy (???)
-rw-r--r--Rakefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index b70aa4c..ad8abd3 100644
--- a/Rakefile
+++ b/Rakefile
@@ -34,13 +34,14 @@ namespace :deploy do
desc "Deploy via FTP"
task :ftp => [:buildsite] do
- Dir.chdir "_site"
+ sh "rclone", "-v", "sync", "_site/", "kasftp:"
+ #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