Sha256: 3eb8c8ef7fa4f3238ca2cc7fad972d4a40541e6842ad0f19a1e664b4a4ca3fcd
Contents?: true
Size: 944 Bytes
Versions: 18
Compression:
Stored size: 944 Bytes
Contents
# frozen_string_literal: true require 'rake_factory' require_relative '../tasks' module RakeGithub module TaskSets class DeployKeys < RakeFactory::TaskSet prepend RakeFactory::Namespaceable parameter :repository, required: true parameter :access_token, required: true parameter :deploy_keys, default: [] parameter :destroy_task_name, default: :destroy parameter :provision_task_name, default: :provision parameter :ensure_task_name, default: :ensure task Tasks::DeployKeys::Provision, name: RakeFactory::DynamicValue.new { |ts| ts.provision_task_name } task Tasks::DeployKeys::Destroy, name: RakeFactory::DynamicValue.new { |ts| ts.destroy_task_name } task Tasks::DeployKeys::Ensure, name: RakeFactory::DynamicValue.new { |ts| ts.ensure_task_name } end end end
Version data entries
18 entries across 18 versions & 1 rubygems