ci: set git config every run

This commit is contained in:
Aaron Bieber 2023-06-14 08:07:04 -06:00
parent d25a22d0e1
commit ca8e94ce35
No known key found for this signature in database

6
bin/ci
View File

@ -8,9 +8,9 @@ CMD=${1:-""}
eval $(keychain --eval --agents ssh --inherit any)
grep -q /run/secrets/ci_ed25519_pub .git/config || git config user.signingkey /run/secrets/ci_ed25519_pub
grep -q gpgsign .git/config || git config commit.gpgsign true
grep -q allowedSignersFile .git/config || git config gpg.ssh.allowedSignersFile .allowed_signers
git config user.signingkey /run/secrets/ci_ed25519_key
git config commit.gpgsign true
git config gpg.ssh.allowedSignersFile .allowed_signers
start_ci