deploy: add keys when running update

This commit is contained in:
Aaron Bieber 2022-09-01 19:43:53 -06:00
parent 466bc21fa7
commit 4d11f32653
No known key found for this signature in database

1
deploy
View File

@ -78,6 +78,7 @@ if [ "$1" = "install" ]; then
fi
if [ "$1" = "update" ]; then
start
can_sign=0
for i in $(ssh-add -L | awk '{print $NF}'); do
grep -q $i .allowed_signers && can_sign=1