Friday, 15 April 2011

deployment - Using ftp-deploy with load-grunt-tasks causes errors -



deployment - Using ftp-deploy with load-grunt-tasks causes errors -

i've split gruntfile multiple files using load-grunt-tasks seem error when using ftp-deploy. i've tried different things, reason hyphen (-) in "ftp-deploy" might cause problems.

i'm getting next error:

running "ftp-deploy:theme" (ftp-deploy) task verifying property ftp-deploy.theme exists in config...error >> unable process task. warning: required config property "ftp-deploy.theme" missing. utilize --force continue.

when running:

grunt "ftp-deploy:theme" --verbose

my ftp-deploy script looks follows:

# ftp deploy # ------- module.exports = 'ftp-deploy': theme: auth: host: 'host.com' port: 21 authkey: 'key' src: 'drupal/sites/all/themes/theme_name' dest: 'www/host.com/sites/all/themes/theme_name'

i've tried running without incapsulating within "theme:" object works, not want have different folders want transfer.

any ideas solution might be?

i found reply myself.

'ftp-deploy':

should of course of study not included in file.

deployment ftp gruntjs

No comments:

Post a Comment