Skip to content

nanoc/nanoc-lftp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Code Climate Coverage Status

nanoc-lftp

This provides a lftp deployer for nanoc.

Works with nanoc 3.x.

Installation

gem install nanoc-lftp

Usage

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.