Socket
Book a DemoInstallSign in
Socket

sftp-deploy

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sftp-deploy

Automates SFTP deployments

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

SFTP Deploy

Deploy a path to a remote server via SFTP

Install

$ npm install -D sftp-deploy

Setup

Deploy via npm-script in package.json:

  "scripts": {
    ...
    "deploy": "sftp-deploy"
  }

Deploy via CI - Continous integration

In your build environment (i.e. travis-ci, teamcity, bamboo) setup the following environment variables:

DEPLOY_HOST=192.168.1.42
DEPLOY_USER=deploymentuser
DEPLOY_PASSWORD=!deploymentpa5swOrd
DEPLOY_PATH=/srv/httpd/htdocs
DEPLOY_SRC=./dist
DEPLOY_PORT=22 # Optional

Keywords

sftp

FAQs

Package last updated on 05 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.