(S)FTP deployment (syncing) for Lets
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gruntfile.js
LICENSE
Makefile
README.md
package.json

README.md

lets-copy

Deploy files by copying/syncing them to a remote over SFTP or FTP.

Current status

This project is in early testing phase. Do not rely on it for production/ critical stuff.

Basic example

// Letsfile.js
var letsCopy = require('lets-copy');

module.exports = function (lets) {
  var stage = lets.Stage({
    host: '1.2.3.4',
    username: 'root',
    password: '****',
    remotePath: '/var/www', // Where your files shall be located
    localPath: 'src', // Optional. Which folder relative to the current folder, to sync
    revisionFile: '.REVISION' // Optional. Name of the file storing the last synced commit
  });

  stage.plugin(letsCopy());

  lets.addStage('sitename', stage);
};
$ lets deploy sitename