auto-format #20
@ -136,12 +136,12 @@ steps:
|
||||
- gpg --version
|
||||
- gpg-agent --version
|
||||
- echo "$GPG_PRIVKEY" > /tmp/private.key
|
||||
- gpg-agent --daemon && gpg2 --passphrase '$GPG_PASSPHRASE' --import /tmp/private.key >> /tmp/import.sh || exit 2
|
||||
- gpg-agent --daemon && gpg2 --batch --pinentry-mode loopback --passphrase '$GPG_PASSPHRASE' --import /tmp/private.key >> /tmp/import.sh || exit 2
|
||||
|
||||
- git config --local user.name "WANessa"
|
||||
- git config --local user.email "$GIT_EMAIL_ADDRESS"
|
||||
- git config --local user.signingkey "$GPG_PUBKEY_ID"
|
||||
- git config --local gpg.program "/usr/bin/gpg2 --passphrase '$GPG_PASSPHRASE'"
|
||||
- git config --local gpg.program "/usr/bin/gpg2 --batch --pinentry-mode loopback --passphrase '$GPG_PASSPHRASE'"
|
||||
# Uncomment below line for ssh debugging
|
||||
# - git config core.sshCommand '/usr/bin/ssh -v'
|
||||
- git remote add ssh "$DRONE_GIT_SSH_URL"
|
||||
|
Reference in New Issue
Block a user