Method: Writefully::HooksController#push

Defined in:
app/controllers/writefully/hooks_controller.rb

#pushObject



19
20
21
22
# File 'app/controllers/writefully/hooks_controller.rb', line 19

def push
  Writefully.add_job :handyman, { task: :synchronize, 
                                  site_slug: body.repository.name } if branch_match?
end