text: var FtpDeploy = require('ftp-deploy');
  var ftpDeploy = new FtpDeploy();
  
  // Server app deploy config
  var serverAppConfig = {
      user: process.env.FTPUSER,
      password: process.env.FTPPASS,
      host: process.env.FTPHOST,
      port: 21,
      localRoot: __dirname + "/server/build/",
      remoteRoot: "/public_nodejs",
      deleteRemote: false,
      include: ['*']
  }
  
  // ftpDeploy.on('uploaded', function(data) {
  //     console.log(data);
  // });
  
  //  ///
  
  // res/music/music1.mp3 nie jest kopiowany w trakcie builda w circleci
  
  // ///
  
  
  
  ftpDeploy.deploy(serverAppConfig, function(err, res) {
      if (err) console.log(err)
      else console.log('Upload server app: done: '+res);
  });
  