@masatomakino/gulptask-deploy-ssh
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @masatomakino/gulptask-deploy-ssh

Weekly Downloads

0

Version

0.0.7

License

MIT

Unpacked Size

10.5 kB

Total Files

9

Last publish

Collaborators

  • makio_masato