chore: changes to gpg import
parent
ef1c5be4ca
commit
257da31235
|
@ -71,6 +71,7 @@ else
|
|||
fi
|
||||
|
||||
cd $gitdir;
|
||||
pwd
|
||||
gh auth login;
|
||||
# after logged into gh
|
||||
|
||||
|
@ -80,6 +81,6 @@ gh auth login;
|
|||
# gpg --export --armor KEY > pubkey.asc && gpg --export-secret-keys --armor KEY > privatekey.asc
|
||||
# scp them to machine ~/keys
|
||||
|
||||
[ ! -d ~/keys ] && echo "No keys found" || gpg --import keys/*; echo "GPG keys imported"
|
||||
[ ! -d ~/keys ] && echo "No keys found" || gpg --import keys/*
|
||||
|
||||
gh repo list --limit 100 |awk '{print $1}' | xargs -L1 gh repo clone;
|
||||
|
|
Loading…
Reference in New Issue