mirror of
https://0xacab.org/sutty/sutty
synced 2025-03-19 04:38:21 +00:00
Merge branch 'issue-14339' into production.panel.sutty.nl
This commit is contained in:
commit
f4dfcc5bab
1 changed files with 10 additions and 2 deletions
|
@ -6,6 +6,14 @@ class GitPushJob < ApplicationJob
|
|||
# @param :site [Site]
|
||||
# @return [nil]
|
||||
def perform(site)
|
||||
site.repository.push if site.repository.origin
|
||||
site.repository.push if site.repository.origin
|
||||
end
|
||||
end
|
||||
|
||||
# Reportar una sola vez para que podamos resolver el problema, pero
|
||||
# reportarlo igual.
|
||||
#
|
||||
# @return [Bool]
|
||||
def handle_error(error)
|
||||
expire
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue