auto-format #20
@ -115,11 +115,12 @@ steps:
|
||||
- cargo fmt --all --check && echo "No formatting required, exiting early..." && exit 0
|
||||
- cargo fmt --all --verbose
|
||||
- apk add git openssh
|
||||
- echo "$SSH_PRIVATE_KEY" > /tmp/ssh
|
||||
- mkdir -p "$${HOME}/.ssh"
|
||||
- chmod 700 "$${HOME}/.ssh"
|
||||
- echo "$SSH_PRIVATE_KEY" > "$${HOME}/.ssh/git"
|
||||
- echo "Host git.libre.moe" >> "$${HOME}/.ssh/config"
|
||||
- echo " User git" >> "$${HOME}/.ssh/config"
|
||||
- echo " IdentityFile /tmp/ssh" >> "$${HOME}/.ssh/config"
|
||||
- echo " IdentityFile $${HOME}/.ssh/git" >> "$${HOME}/.ssh/config"
|
||||
- cat "$${HOME}/.ssh/config"
|
||||
- git config --local user.name "wanessa"
|
||||
- git config --local user.email "$GIT_EMAIL_ADDRESS"
|
||||
|
Reference in New Issue
Block a user