@vsmi/deploy
v0.0.15
Published
deploy files to server such as FTP, SFTP
Downloads
12
Readme
@vsmi/deploy
a simple library for deploy assets to disk or SFTP server
GET STARTED
import { deploy } from '@vsmi/deploy';
(async () => {
const remoteDir = "/opt/htdocs/www";
const localDir = path.resolve(__dirname, "dist");
await deploy({
remoteDir,
localDir,
folder: "bbq",
sftpConfig: {
host: "127.0.0.1",
username: "admin",
password: "******",
},
});
})();
LICENSE
MIT