mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-17 23:36:22 +00:00
fix: add documentation to pull job #13903
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
8947942cb9
commit
9f5364a738
2 changed files with 2 additions and 2 deletions
|
@ -5,9 +5,9 @@
|
|||
class GitPullJob < ApplicationJob
|
||||
# @param :site [Site]
|
||||
# @param :usuarie [Usuarie]
|
||||
# @param :message [String]
|
||||
# @return [nil]
|
||||
def perform(site, usuarie, message)
|
||||
site.repository.fetch
|
||||
site.repository.merge(usuarie, message) if site.repository.fetch&.positive?
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue