Open EddyRespondek opened 10 years ago
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']);
+1
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']);