ember-cli-deploy-ftp

ember-cli-deploy wrapper for ftp-deploy

Usage no npm install needed!

<script type="module">
  import emberCliDeployFtp from 'https://cdn.skypack.dev/ember-cli-deploy-ftp';
</script>

README

ember-cli-deploy-ftp

ember-cli-deploy wrapper for ftp-deploy

Installation

npm install ember-cli-deploy-ftp

Usage

Add e.g. the following snippet to your config/deploy.js file:

ENV.ftp = {
  host: 'ftp.your-server.com',
  username: 'johndoe',
  password: process.env.FTP_PASSWORD,
};

Options

  • hostrequired: FTP host name or IP address
  • portoptional: FTP server port (default: 21)
  • usernameoptional: FTP username (default: anonymous)
  • passwordoptional: FTP password (default: anonymous)
  • remoteRootoptional: deploy target folder on the FTP server (default: /)
  • includeoptional: included files (default: ['*', '**/*'])
  • excludeoptional: excluded files (default: [])

License

This project is licensed under the MIT License.