Sha256: 2bed4a18ae5a1bf6833af05346ccdccf59efaccbe3a4d6cda4c1981bd4b6ee1c

Contents?: true

Size: 356 Bytes

Versions: 12

Compression:

Stored size: 356 Bytes

Contents

desc "Add S3 storage to your environment"
task add_heroku_s3_storage: :environment do
  require 'mobile_workflow/cli'
  app_name = ENV['APP_NAME']
  aws = MobileWorkflow::Cli::AwsBackend.new(app_name: app_name)
  heroku = MobileWorkflow::Cli::HerokuBackend(app_name: app_name)
  aws.create
  aws.create_topic_subscription(heroku.notifications_endpoint)
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mobile_workflow-0.6.29 lib/generators/mobile_workflow/install/templates/lib/tasks/mobile_workflow_s3.rake
mobile_workflow-0.6.28 lib/generators/mobile_workflow/install/templates/lib/tasks/mobile_workflow_s3.rake
mobile_workflow-0.6.27 lib/generators/mobile_workflow/install/templates/lib/tasks/mobile_workflow_s3.rake
mobile_workflow-0.6.26 lib/generators/mobile_workflow/install/templates/lib/tasks/mobile_workflow_s3.rake
mobile_workflow-0.6.25 lib/generators/mobile_workflow/install/templates/lib/tasks/mobile_workflow_s3.rake
mobile_workflow-0.6.24 lib/generators/mobile_workflow/install/templates/lib/tasks/mobile_workflow_s3.rake
mobile_workflow-0.6.23 lib/generators/mobile_workflow/install/templates/lib/tasks/mobile_workflow_s3.rake
mobile_workflow-0.6.22 lib/generators/mobile_workflow/install/templates/lib/tasks/mobile_workflow_s3.rake
mobile_workflow-0.6.21 lib/generators/mobile_workflow/install/templates/lib/tasks/mobile_workflow_s3.rake
mobile_workflow-0.6.20 lib/generators/mobile_workflow/install/templates/lib/tasks/mobile_workflow_s3.rake
mobile_workflow-0.6.19 lib/generators/mobile_workflow/install/templates/lib/tasks/mobile_workflow_s3.rake
mobile_workflow-0.6.18 lib/generators/mobile_workflow/install/templates/lib/tasks/mobile_workflow_s3.rake