@masatomakino/gulptask-deploy-ssh
v0.0.7
Published
Web page deployment tasks for SSH and rsync.
Downloads
2
Readme
gulptask-deploy-ssh
Web page deployment tasks for SSH and rsync.
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;