Socket
Socket
Sign inDemoInstall

sftp-deploy

Package Overview
Dependencies
38
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    sftp-deploy

Automates SFTP deployments


Version published
Maintainers
1
Install size
1.54 MB
Created

Readme

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

FAQs

Last updated on 05 May 2017

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc