ember-cli-deploy-redis icon indicating copy to clipboard operation
ember-cli-deploy-redis copied to clipboard

didDeploy hook to publish changes

Open sescobb27 opened this issue 7 years ago • 1 comments

hi I would like to see something like pub/sub when deploying changes, so when a didDeploy event happens this add-on can exec a PUBLISH ${keyPrefix}:deploy ${revisionKey} and a fastboot-notifier can be listen on that channel events and trigger a notification to download the new app version. let me know if that sound good to you and if I can help implementing this. thanks

sescobb27 avatar Apr 18 '17 18:04 sescobb27

@sescobb27 This does not seem like something that belongs in this plugin. This plugin's responsibility is to manage a bootstrap file in redis. This does however sound like something you could implement in your own plugin that has the sole responsibility of pub/sub and understands how to do this.

You can see the Creating a Plugin guide here to get an idea on how to create a plugin.

And by all means feel free to ask questions here or on in the ember community Slack on the #ec-deploy channel. We're more than happy to guide you along the way.

achambers avatar Apr 18 '17 19:04 achambers