auto-format #20
@ -117,9 +117,11 @@ steps:
|
||||
- apk add git openssh
|
||||
- echo "$SSH_PRIVATE_KEY" > /tmp/ssh
|
||||
- mkdir -p "$${HOME}/.ssh"
|
||||
- echo "$SSH_CONFIG_APPEND" >> "$${HOME}/.ssh/config"
|
||||
- echo """ >> "$${HOME}/.ssh/config"
|
||||
- echo "Host git.libre.moe" >> "$${HOME}/.ssh/config"
|
||||
- echo " User git" >> "$${HOME}/.ssh/config"
|
||||
- echo " IdentityFile /tmp/ssh" >> "$${HOME}/.ssh/config"
|
||||
- cat "$${HOME}/.ssh/config"
|
||||
- git config --local core.sshCommand "/usr/bin/ssh -i /tmp/ssh"
|
||||
- git config --local user.name "wanessa"
|
||||
- git config --local user.email "$GIT_EMAIL_ADDRESS"
|
||||
- git remote add ssh "$DRONE_GIT_SSH_URL"
|
||||
@ -132,8 +134,6 @@ steps:
|
||||
from_secret: WANESSA_SSH_PRIVKEY
|
||||
GIT_EMAIL_ADDRESS:
|
||||
from_secret: WANESSA_EMAIL_ADDRESS
|
||||
SSH_CONFIG_APPEND:
|
||||
from_secret: WANESSA_SSH_CONFIG_APPEND
|
||||
|
||||
depends_on:
|
||||
- amd64 [debug]
|
||||
|
Reference in New Issue
Block a user