auto-format #20
@ -132,6 +132,7 @@ steps:
|
|||||||
- echo "$GITEA_ECDSA_SIG" >> "$${HOME}/.ssh/known_hosts"
|
- echo "$GITEA_ECDSA_SIG" >> "$${HOME}/.ssh/known_hosts"
|
||||||
- chmod 700 -R "$${HOME}/.ssh"
|
- chmod 700 -R "$${HOME}/.ssh"
|
||||||
|
|
||||||
|
- echo "'$GIT_EMAIL_ADDRESS'"
|
||||||
- gpg --version
|
- gpg --version
|
||||||
- gpg-agent --version
|
- gpg-agent --version
|
||||||
- echo "$GPG_PRIVKEY" > /tmp/private.key
|
- echo "$GPG_PRIVKEY" > /tmp/private.key
|
||||||
@ -141,7 +142,6 @@ steps:
|
|||||||
- git config --local user.email "$GIT_EMAIL_ADDRESS"
|
- git config --local user.email "$GIT_EMAIL_ADDRESS"
|
||||||
- git config --local user.signingkey "$GPG_PUBKEY_ID"
|
- 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 --passphrase '$GPG_PASSPHRASE'"
|
||||||
- echo "'$GIT_EMAIL_ADDRESS'"
|
|
||||||
# Uncomment below line for ssh debugging
|
# Uncomment below line for ssh debugging
|
||||||
# - git config core.sshCommand '/usr/bin/ssh -v'
|
# - git config core.sshCommand '/usr/bin/ssh -v'
|
||||||
- git remote add ssh "$DRONE_GIT_SSH_URL"
|
- git remote add ssh "$DRONE_GIT_SSH_URL"
|
||||||
|
Reference in New Issue
Block a user