5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-17 06:36:22 +00:00

fix: renombrar el remote correctamente

This commit is contained in:
f 2023-09-21 12:25:23 -03:00
parent 5a004b1cad
commit a2d84bfa96
No known key found for this signature in database

View file

@ -473,7 +473,10 @@ class Site < ApplicationRecord
def clone_skel!
return if jekyll?
Rugged::Repository.clone_at ENV['SKEL_SUTTY'], path, remote: 'upstream'
Rugged::Repository.clone_at ENV['SKEL_SUTTY'], path
# Necesita un bloque
repository.rugged.remotes.rename('origin', 'upstream') {}
end
# Elimina el directorio del sitio