deploy: add keys when running update
This commit is contained in:
parent
466bc21fa7
commit
4d11f32653
1
deploy
1
deploy
@ -78,6 +78,7 @@ if [ "$1" = "install" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = "update" ]; then
|
if [ "$1" = "update" ]; then
|
||||||
|
start
|
||||||
can_sign=0
|
can_sign=0
|
||||||
for i in $(ssh-add -L | awk '{print $NF}'); do
|
for i in $(ssh-add -L | awk '{print $NF}'); do
|
||||||
grep -q $i .allowed_signers && can_sign=1
|
grep -q $i .allowed_signers && can_sign=1
|
||||||
|
Loading…
Reference in New Issue
Block a user