Rakefile in rake_circle_ci-0.10.0.pre.2 vs Rakefile in rake_circle_ci-0.10.0.pre.3
- old
+ new
@@ -60,20 +60,22 @@
end
RakeGithub.define_repository_tasks(
namespace: :github,
repository: 'infrablocks/rake_circle_ci',
-) do |t|
+) do |t, args|
github_config =
YAML.load_file('config/secrets/github/config.yaml')
t.access_token = github_config["github_personal_access_token"]
t.deploy_keys = [
{
title: 'CircleCI',
public_key: File.read('config/secrets/ci/ssh.public')
}
]
+ t.branch_name = args.branch_name
+ t.commit_message = args.commit_message
end
namespace :pipeline do
task :prepare => [
:'circle_ci:project:follow',