From 2e9adb51ccd72d1e27ce4e3de45d2c113dfb4a2e Mon Sep 17 00:00:00 2001 From: Nick LaMuro Date: Tue, 14 Jan 2020 19:03:35 -0600 Subject: [PATCH] Add rake travis_branch_monitor:poll_single A task for triggering a single run of the TravisBranchMonitor without needing sidekiq running. --- lib/tasks/travis_branch_monitor.rake | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 lib/tasks/travis_branch_monitor.rake diff --git a/lib/tasks/travis_branch_monitor.rake b/lib/tasks/travis_branch_monitor.rake new file mode 100644 index 00000000..8ec6e298 --- /dev/null +++ b/lib/tasks/travis_branch_monitor.rake @@ -0,0 +1,5 @@ +namespace :travis_branch_monitor do + task :poll_single => :environment do + TravisBranchMonitor.new.perform + end +end