felixkiss / ember-cli-deploy-ssh-execute

An ember-cli-deploy plugin to execute commands after successful deploy via SSH
MIT License
0 stars 2 forks source link

ember-cli-deploy-ssh-execute

Build Status

This plugin can be used to execute commands on a SSH server after a successful deploy. It will trigger the defined commands in the didActivate hook.

Installation

ember install ember-cli-deploy-ssh-execute

Configuration

Add commands in your config/deploy.js:

module.exports = function(deployTarget) {
  var ENV = {
    // ...
    'ssh-execute': {
      host: 'example.org',
      port: 22,
      username: 'deploy',
      remoteDir: '/some/path/on/the/server',
      commands: [
        './my-command.sh foo bar',
      ],
    },
    // ...
  };
};

The following configuration options are available:

Required:

Optional:

Contributing

npm test

License

MIT