auto-format #20
@ -136,8 +136,7 @@ steps:
|
|||||||
- echo "$GPG_PRIVKEY" > /tmp/private.key
|
- echo "$GPG_PRIVKEY" > /tmp/private.key
|
||||||
- gpg --batch --pinentry-mode loopback --passphrase '$GPG_PASSPHRASE' --import /tmp/private.key >> /tmp/import.sh || exit 2
|
- gpg --batch --pinentry-mode loopback --passphrase '$GPG_PASSPHRASE' --import /tmp/private.key >> /tmp/import.sh || exit 2
|
||||||
- echo "#!/bin/sh" >> /tmp/gpg.sh
|
- echo "#!/bin/sh" >> /tmp/gpg.sh
|
||||||
- 'echo echo Args: \$@ >> /tmp/gpg.sh'
|
- 'echo "echo Args: \$@ >> /tmp/log" >> /tmp/gpg.sh'
|
||||||
- '>&2 echo echo Args: \$@ >> /tmp/gpg.sh'
|
|
||||||
#- echo 'gpg --batch --pinentry-mode loopback --passphrase '$GPG_PASSPHRASE' $@' >> /tmp/gpg.sh
|
#- echo 'gpg --batch --pinentry-mode loopback --passphrase '$GPG_PASSPHRASE' $@' >> /tmp/gpg.sh
|
||||||
- chmod 777 /tmp/gpg.sh
|
- chmod 777 /tmp/gpg.sh
|
||||||
|
|
||||||
@ -150,7 +149,8 @@ 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"
|
||||||
|
|
||||||
- GIT_COMMITTER_NAME="WANessa" GIT_COMMITTER_EMAIL="$GIT_EMAIL_ADDRESS" git commit --author "$DRONE_COMMIT_AUTHOR_NAME <$DRONE_COMMIT_AUTHOR_EMAIL>" -S -a -m "rustfmt" || exit 3
|
- GIT_COMMITTER_NAME="WANessa" GIT_COMMITTER_EMAIL="$GIT_EMAIL_ADDRESS" git commit --author "$DRONE_COMMIT_AUTHOR_NAME <$DRONE_COMMIT_AUTHOR_EMAIL>" -S -a -m "rustfmt" #|| exit 3
|
||||||
|
- cat /tmp/log
|
||||||
- git push ssh
|
- git push ssh
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
Reference in New Issue
Block a user