From 2ab07b56d27ca417bec806f0fe55ff2107f84cb2 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