1.0.0 • Published 6 years ago

ember-cli-deploy-ftps v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

ember-cli-deploy-ftps

Build Status Maintainability npm.io Ember Observer Score

An ember-cli-deploy plugin that uploads your build to to a FTP/S Server. Works with TLS!

This addon uses basic-ftp, which requires node 7.6 or later.

Quick Start

  • Install this plugin
$ ember install ember-cli-deploy-ftps
  • Place the following configuration into config/deploy.js
ENV['ftps'] = {
  host: '<your-ftp-server>'
  username: '<user>',
  password: '<pass>'
}
  • Run the pipeline
$ ember deploy

Dependencies

Node 7.6 or later

ember-cli-deploy Hooks Implemented

For detailed information on what plugin hooks are and how they work, please refer to the Plugin Documentation.

  • upload

Configuration Options

For detailed information on how configuration of plugins works, please refer to the Plugin Documentation.

host (required)

The FTP Host name

Default: undefined

port

The FTP host port

Default: 31

username

The FTP server login username

Default: anonymous

password

The FTP server login password

Default: anonymous

remoteRoot

Path on FTP server where the files will be uploaded to

Default: /

tls

Set to true for FTP over TLS

Default: false

clear

If set to true, remoteRoot will be emptied before upload

Default: false

Running Tests

$ npm test

Contributing

PRs welcome!

License

MIT