This provides a lftp deployer for nanoc.
Works with nanoc 3.x.
gem install nanoc-lftp
Add the following to nanoc.yaml (or config.yaml on older sites):
deploy:
public:
kind: lftp
dst_host: ftp://nanoc.ws
dst_path: /var/www/nanoc.ws
Add the following somewhere in lib/ (e.g. lib/plugins.rb):
require 'nanoc-lftp'
You can now deploy with LFTP.
This deployer also reads the options
attribute in the deployer configuration, which is an array passed to the lftp
command.