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