Skip to content

rtablada/ember-cli-deploy-scp

Repository files navigation

ember-cli-deploy-scp

Easy deploy your Ember applications via ssh using scp.

ember-cli-deploy-scp

Installation

Install ember-cli-deploy first:

ember install ember-cli-deploy

Install ember-cli-deploy-build for automated building:

ember install ember-cli-deploy-build

Then install ember-cli-deploy-scp plugin

ember install ember-cli-deploy-scp

Usage

Edit your config/deploy.js file:

module.exports = function(environment){
  var ENV = {
  };

  if (environment === 'production') {
    ENV['scp'] = {
        username: '<your-username>',
        host: '<your-host>',
        path: '<your-serverpath>'
    }
  };
  return ENV;
};

and start deploying:

ember deploy production

Configuration Options

username

Username to connect via SSH. required

host

Host (server address) to connect via SSH. required

path

Path where latest revision will be deployed to. (All older builds lands in parent directory). required

port

SSH port on target server, default: 22. optional

directory

Directory that will be uploaded, default: tmp/deploy-dist/. optional

exclude

Exclude specified files and directories from uploading. optional

displayCommands

More complex logging. optional

About

Easy deploy your Ember applications via ssh using scp.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published