0.0.7 • Published 1 year ago

@masatomakino/gulptask-deploy-ssh v0.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

gulptask-deploy-ssh

Web page deployment tasks for SSH and rsync.

MIT License

Getting Started

Install

npm install --save-dev gulp

and

npm install --save-dev @masatomakino/gulptask-deploy-ssh

Run in gulpfile.js

ssh config

Set up your ~/.ssh/config

Host <Host section name>
 HostName <example.com>
 IdentityFile  <e.g. ~/.ssh/id_rsa>
 User <user name>
 Port <port number>

gulpfile.js

const { deploy } = require("@masatomakino/gulptask-deploy-ssh").get({
  host: "Host section name", //<Host section name> in `~/.ssh/config`
  destination: "path/to/public_html",
});

exports.deploy = deploy;

License

MIT licensed.