Skip to content

Latest commit

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

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.jsvarletsCopy=require('lets-copy');module.exports=function(lets){varstage=lets.Stage({host: '1.2.3.4',username: 'root',password: '****',remotePath: '/var/www',// Where your files shall be locatedlocalPath: 'src',// Optional. Which folder relative to the current folder, to syncrevisionFile: '.REVISION'// Optional. Name of the file storing the last synced commit});stage.plugin(letsCopy());lets.addStage('sitename',stage);};
$ lets deploy sitename

About

(S)FTP deployment (syncing) for Lets

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages