ci: set git config every run
This commit is contained in:
parent
d25a22d0e1
commit
ca8e94ce35
6
bin/ci
6
bin/ci
@ -8,9 +8,9 @@ CMD=${1:-""}
|
|||||||
|
|
||||||
eval $(keychain --eval --agents ssh --inherit any)
|
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
|
git config user.signingkey /run/secrets/ci_ed25519_key
|
||||||
grep -q gpgsign .git/config || git config commit.gpgsign true
|
git config commit.gpgsign true
|
||||||
grep -q allowedSignersFile .git/config || git config gpg.ssh.allowedSignersFile .allowed_signers
|
git config gpg.ssh.allowedSignersFile .allowed_signers
|
||||||
|
|
||||||
start_ci
|
start_ci
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user