auto-format #20
@ -129,7 +129,7 @@ steps:
|
|||||||
- chmod 700 -R "$${HOME}/.ssh"
|
- chmod 700 -R "$${HOME}/.ssh"
|
||||||
|
|
||||||
- echo "$GPG_PRIVKEY" > /tmp/private.key
|
- echo "$GPG_PRIVKEY" > /tmp/private.key
|
||||||
- gpg-agent && gpg --import /tmp/private.key >> /tmp/import.sh || exit 2
|
- gpg-agent -v && gpg --import /tmp/private.key >> /tmp/import.sh || exit 2
|
||||||
|
|
||||||
- git config --local user.name "WANessa"
|
- git config --local user.name "WANessa"
|
||||||
- git config --local user.email "$GIT_EMAIL_ADDRESS"
|
- git config --local user.email "$GIT_EMAIL_ADDRESS"
|
||||||
@ -140,7 +140,7 @@ steps:
|
|||||||
# - 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"
|
||||||
|
|
||||||
- gpg-agent && "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 -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
|
||||||
- git push ssh
|
- git push ssh
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
Reference in New Issue
Block a user