0.1.0 • Published 11 years ago
hexo-deployer-ftp v0.1.0
FTP deployer plugin for Hexo
This plugin can deploy your blog via FTP.
Usage
Install
npm install hexo-deployer-ftp --savelftp is required. Install it with apt-get install lftp or brew install lftp depending on your OS.
Enable
Add hexo-deployer-ftp to plugins in _config.yml.
plugins:
- hexo-deployer-ftpConfigure
Add host, user and root to deploy in _config.yml.
deploy:
type: ftp
host: <ftp host>
user: <ftp user>
root: <path/to/your/blog/on/the/server>Disable
Remove hexo-deployer-ftp from plugins in _config.yml.
plugins:
- hexo-deployer-ftpUpdate
Execute the following command.
npm updateUninstall
Execute the following command. Don't forget to disable the plugin before uninstalling.
npm uninstall hexo-deployer-ftp