Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 962 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 962 Bytes

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.