auto-format #20
@ -131,7 +131,7 @@ steps:
|
||||
- gpg --version
|
||||
- gpg-agent --version
|
||||
- echo "$GPG_PRIVKEY" > /tmp/private.key
|
||||
- gpg-agent -v && gpg2 --import /tmp/private.key >> /tmp/import.sh || exit 2
|
||||
- gpg-agent --daemon && gpg2 --import /tmp/private.key >> /tmp/import.sh || exit 2
|
||||
|
||||
- git config --local user.name "WANessa"
|
||||
- git config --local user.email "$GIT_EMAIL_ADDRESS"
|
||||
@ -142,7 +142,7 @@ steps:
|
||||
# - git config core.sshCommand '/usr/bin/ssh -v'
|
||||
- git remote add ssh "$DRONE_GIT_SSH_URL"
|
||||
|
||||
- gpg-agent -v && "GIT_COMMITTER_NAME="WANessa" GIT_COMMITTER_EMAIL="$GIT_EMAIL_ADDRESS" git commit --author "$DRONE_COMMIT_AUTHOR_NAME <$DRONE_COMMIT_AUTHOR_EMAIL>" -Sam "rustfmt"" || exit 3
|
||||
- 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"" || exit 3
|
||||
- git push ssh
|
||||
|
||||
environment:
|
||||
|
Reference in New Issue
Block a user