hexo/node_modules/@m-maillot/hexo-deployer-ftp-sync
jkjoy 9a9cb42f53 20231003 update 2023-10-03 11:14:36 +08:00
..
LICENSE 20231003 update 2023-10-03 11:14:36 +08:00
README.md 20231003 update 2023-10-03 11:14:36 +08:00
index.js 20231003 update 2023-10-03 11:14:36 +08:00
package.json 20231003 update 2023-10-03 11:14:36 +08:00

README.md

FTP deployer

NPM version

Deploy your site via FTP.

Install

$ npm install hexo-deployer-ftp-sync --save
$ yarn add hexo-deployer-ftp-sync

Usage

Edit settings.

deploy:
  type: ftpsync
  host: <host>
  user: <user>
  password: <password>
  remote: [remote]
  port: [port]
  ignore: [ignore]
  verbose: [verbose]
Option Description Default
host Address of remote host
user Username Environment variable FTP_USER
pass Password Environment variable FTP_PASSWORD
remote Root directory of remote host /
port Port 21
ignore Ignore the files on either host or remote false
verbose Enable a verbose mode for debug false

Warning

This application will delete files and directories on the remote server to match the local machine. Use this application in production at your own risk.