Sha256: ed04fb0cc5cbfc4120e58c3522b28f94a9b15a6cd89e247297abcea65d1106c8
Contents?: true
Size: 724 Bytes
Versions: 18
Compression:
Stored size: 724 Bytes
Contents
# frozen_string_literal: true require 'rake_factory' module RakeGithub module Tasks module DeployKeys class Ensure < RakeFactory::Task default_name :ensure default_description(RakeFactory::DynamicValue.new do |t| 'Ensure deploy keys are configured on the ' \ "#{t.repository} repository" end) 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
18 entries across 18 versions & 1 rubygems