mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-17 08:06:22 +00:00
fix: renombrar el remote correctamente
This commit is contained in:
parent
5a004b1cad
commit
a2d84bfa96
1 changed files with 4 additions and 1 deletions
|
@ -473,7 +473,10 @@ class Site < ApplicationRecord
|
||||||
def clone_skel!
|
def clone_skel!
|
||||||
return if jekyll?
|
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
|
end
|
||||||
|
|
||||||
# Elimina el directorio del sitio
|
# Elimina el directorio del sitio
|
||||||
|
|
Loading…
Reference in a new issue