2.0.3 • Published 10 years ago

gitbook-plugin-ftpsync v2.0.3

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
10 years ago

not work yet. please skip this plugin.

ftp deployer

sync gitbook to ftp server after each build.

How it's implemented

The plugin call bash ftpsync via child_process.exec. So you must install ftpsync globally.

When I call ftpsync in node, there is no result returned.

Install

$ sudo npm install ftpsync -g
$ npm install gitbook-plugin-ftpsync --save

Config book.json

{
    plugins: ["ftpsync"],
    pluginsConfig: {
        "ftpsync": {
            "host": "xxx.org",
            "port": "21",
            "user": "usr_name",                              
            "pass": "ftp_password",                                 
            "remote": "/domains/xxx.org/public_html/"
        } 
    }
}

Caution

since the usr/password of your ftp is saved in book.json, you need keep your book.json in private.

2.0.3

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.1.5

10 years ago

1.1.4

10 years ago

1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago