Socket
Book a DemoInstallSign in
Socket

grunt-ssh-deploy-release

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-ssh-deploy-release

Grunt SSH deployment

Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
6
50%
Maintainers
1
Weekly downloads
 
Created
Source

grunt-ssh-deploy

Installation

npm install grunt-ssh-deploy-release

Example


grunt.config.set('ssh-deploy-release', {

    options: {

    	// Local folder to deploy
        localPath: 'www',

        // Excluded local folders
        exclude: [
            'tmp/**',
            'images/**',
        ],

        // Shared folders (use symlink)
        // Example : 'sharedFolder' : 'linkName'
        shared: {
            'images': 'assets/images',
           
        }
    },

    // Environment - preproduction
    preproduction: {
        options: {
            host: 'hostname',
            username: 'username',
            password: 'passwaord',
            deployPath: '/opt/path/to'
        }
    },

    // Environment - production
    production: {
        options: {
            host: 'hostname',
            username: 'username',
            password: 'passwaord',
            deployPath: '/opt/path/to'
        }
    }
});

FAQs

Package last updated on 07 Nov 2016

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