mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-22 14:11:49 +00:00
fix: correr lfs junto con las gemas
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
esto es una solución temporal!
This commit is contained in:
parent
1c5dd603e5
commit
9e177a2257
1 changed files with 2 additions and 2 deletions
|
@ -473,8 +473,6 @@ class Site < ApplicationRecord
|
||||||
return if jekyll?
|
return if jekyll?
|
||||||
|
|
||||||
Rugged::Repository.clone_at ENV['SKEL_SUTTY'], path
|
Rugged::Repository.clone_at ENV['SKEL_SUTTY'], path
|
||||||
|
|
||||||
deploys.find_by_type('DeployLocal').send(:git_lfs)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# Elimina el directorio del sitio
|
# Elimina el directorio del sitio
|
||||||
|
@ -566,6 +564,8 @@ class Site < ApplicationRecord
|
||||||
def install_gems
|
def install_gems
|
||||||
return unless persisted?
|
return unless persisted?
|
||||||
|
|
||||||
|
deploys.find_by_type('DeployLocal').send(:git_lfs)
|
||||||
|
|
||||||
if !gem_dir? || gemfile_updated? || gemfile_lock_updated?
|
if !gem_dir? || gemfile_updated? || gemfile_lock_updated?
|
||||||
deploys.find_by_type('DeployLocal').send(:bundle)
|
deploys.find_by_type('DeployLocal').send(:bundle)
|
||||||
touch
|
touch
|
||||||
|
|
Loading…
Reference in a new issue