grunt-deployments icon indicating copy to clipboard operation
grunt-deployments copied to clipboard

Running db_pull as a GruntFile.js task?

Open EddyRespondek opened this issue 11 years ago • 1 comments

Question:

This might be obvious but I couldn't figure out how to do it. Is there a way to run the db_pull command as a task in GruntFile.js?

I figured something like the following would work

deployments: { local: {...}, staging: {...}, pull_db_staging: { db_pull: { target: 'staging' } } }

grunt.registerTask('pull-stg', ['deployments:pull_db_staging','rsync:pull_uploads_staging']);

EddyRespondek avatar Jul 02 '14 23:07 EddyRespondek

+1

sheck avatar Nov 27 '14 04:11 sheck