auto-format #20
@ -128,9 +128,8 @@ steps:
|
||||
- echo "$GITEA_ECDSA_SIG" >> "$${HOME}/.ssh/known_hosts"
|
||||
- chmod 700 -R "$${HOME}/.ssh"
|
||||
|
||||
- setsid gpg-agent
|
||||
- echo "$GPG_PRIVKEY" > /tmp/private.key
|
||||
- gpg --import /tmp/private.key
|
||||
- gpg-agent --daemon "gpg --import /tmp/private.key"
|
||||
|
||||
- git config --local user.name "WANessa"
|
||||
- git config --local user.email "$GIT_EMAIL_ADDRESS"
|
||||
@ -141,7 +140,7 @@ steps:
|
||||
# - git config core.sshCommand '/usr/bin/ssh -v'
|
||||
- git remote add ssh "$DRONE_GIT_SSH_URL"
|
||||
|
||||
- GIT_COMMITTER_NAME="WANessa" GIT_COMMITTER_EMAIL="$GIT_EMAIL_ADDRESS" git commit --author "$DRONE_COMMIT_AUTHOR_NAME <$DRONE_COMMIT_AUTHOR_EMAIL>" -Sam "rustfmt"
|
||||
- gpg-agent --daemon "GIT_COMMITTER_NAME="WANessa" GIT_COMMITTER_EMAIL="$GIT_EMAIL_ADDRESS" git commit --author "$DRONE_COMMIT_AUTHOR_NAME <$DRONE_COMMIT_AUTHOR_EMAIL>" -Sam "rustfmt""
|
||||
- git push ssh
|
||||
|
||||
environment:
|
||||
|
Reference in New Issue
Block a user