Sha256: 1b005f9b6deb93eca252f0360e844643f45ca4b6dbeb793a53a52c137a6a6cbe
Contents?: true
Size: 692 Bytes
Versions: 15
Compression:
Stored size: 692 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
15 entries across 15 versions & 1 rubygems