Sha256: 704f7b22a6e8584ecf7274ac823f990477431d5f46ac53e611b2d8a9b3e06c9d
Contents?: true
Size: 691 Bytes
Versions: 9
Compression:
Stored size: 691 Bytes
Contents
require 'rake_factory' module RakeGithub module Tasks module DeployKeys class Ensure < RakeFactory::Task default_name :ensure default_description RakeFactory::DynamicValue.new { |t| "Ensure deploy keys are configured on the " + "#{t.repository} repository" } parameter :repository, required: true parameter :provision_task_name, default: :provision parameter :destroy_task_name, default: :destroy action do |t, args| t.application[t.destroy_task_name, t.scope].invoke(*args) t.application[t.provision_task_name, t.scope].invoke(*args) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems