mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 15:56:20 +00:00
parent
14d8ce9af2
commit
ff84423891
1 changed files with 6 additions and 5 deletions
|
@ -194,6 +194,12 @@ class Site
|
|||
git_sh('git', 'lfs', 'push', remote.name, default_branch)
|
||||
end
|
||||
|
||||
# Hace limpieza de LFS
|
||||
def lfs_cleanup
|
||||
git_sh("git", "lfs", "prune")
|
||||
git_sh("git", "lfs", "dedup")
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
# @deprecated
|
||||
|
@ -260,10 +266,5 @@ class Site
|
|||
|
||||
r&.success?
|
||||
end
|
||||
|
||||
def lfs_cleanup
|
||||
git_sh("git", "lfs", "prune")
|
||||
git_sh("git", "lfs", "dedup")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue