An Abe deployer to sync your site in sftp or ftp
This plugin is a sftp-ftp deployer for your Abe blog. It relies on node-ftps. Thanks to Sébastien Chopin
Everytime you'll publish/unpublish a content, your blog will be sync'ed with the remote directory.
You'll need lftp executable Abe server side.
sudo apt-get install lftp
# or
sudo yum install lftp
sudo brew install lftp
C:\> choco install lftp
abe install abecms/abe-deployer-sftp
In abe.json, just add sftp
entry in "deployers" section:
"deployers": {
"sftp": {
"active": true,
"host": "yourserver",
"requiresPassword": false,
"username": "sftp user",
"requireSSHKey": true,
"sshKeyPath": "/path/to/id_rsa_pub",
"remoteDir": "/path/to/your/abecms/site",
"protocol": "sftp"
}
}
"deployers": {
"sftp": {
"active": true,
"host": "yourserver",
"requiresPassword": true,
"username": "ftp user",
"password":"Your_PaSSWoRD",
"remoteDir": "/path/to/your/abecms/site",
"protocol": "ftp"
}
}
If you want to deactivate the plugin, set active as false.