auto-format #20
@ -116,7 +116,6 @@ steps:
|
|||||||
- cargo fmt --all --verbose
|
- cargo fmt --all --verbose
|
||||||
- apk add git openssh
|
- apk add git openssh
|
||||||
- mkdir -p "$${HOME}/.ssh"
|
- mkdir -p "$${HOME}/.ssh"
|
||||||
- chmod 700 "$${HOME}/.ssh"
|
|
||||||
- echo "$SSH_PRIVATE_KEY" > "$${HOME}/.ssh/git"
|
- echo "$SSH_PRIVATE_KEY" > "$${HOME}/.ssh/git"
|
||||||
- echo "Host git.libre.moe" >> "$${HOME}/.ssh/config"
|
- echo "Host git.libre.moe" >> "$${HOME}/.ssh/config"
|
||||||
- echo " User git" >> "$${HOME}/.ssh/config"
|
- echo " User git" >> "$${HOME}/.ssh/config"
|
||||||
@ -125,6 +124,7 @@ steps:
|
|||||||
- echo "$GITEA_RSA_SIG" >> "$${HOME}/.ssh/known_hosts"
|
- echo "$GITEA_RSA_SIG" >> "$${HOME}/.ssh/known_hosts"
|
||||||
- echo "$GITEA_ECDSA_SIG" >> "$${HOME}/.ssh/known_hosts"
|
- echo "$GITEA_ECDSA_SIG" >> "$${HOME}/.ssh/known_hosts"
|
||||||
- cat "$${HOME}/.ssh/config"
|
- cat "$${HOME}/.ssh/config"
|
||||||
|
- chmod 700 -R "$${HOME}/.ssh"
|
||||||
- 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"
|
||||||
- git config core.sshCommand '/usr/bin/ssh -v'
|
- git config core.sshCommand '/usr/bin/ssh -v'
|
||||||
|
Reference in New Issue
Block a user