auto-format #20
@ -115,7 +115,7 @@ steps:
|
|||||||
- cargo fmt --all --check && echo "No formatting required, exiting early..." && exit 0
|
- cargo fmt --all --check && echo "No formatting required, exiting early..." && exit 0
|
||||||
- cargo fmt --all --verbose
|
- cargo fmt --all --verbose
|
||||||
- apk add git openssh
|
- apk add git openssh
|
||||||
- sh "[ $(git log -1 --pretty=%B | grep -E ".+") = "rustfmt" ] && echo "format loop detected, aborting..." && exit 1"
|
- \[ $(git log -1 --pretty=%B | grep -E ".+") = "rustfmt" \] && echo "format loop detected, aborting..." && exit 1
|
||||||
- mkdir -p "$${HOME}/.ssh"
|
- mkdir -p "$${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"
|
||||||
|
Reference in New Issue
Block a user