auto-format #20
@ -114,8 +114,8 @@ steps:
|
||||
- rustup component add rustfmt
|
||||
- cargo fmt --all --check && echo "No formatting required, exiting early..." && exit 0
|
||||
- cargo fmt --all --verbose
|
||||
- apk add git util-linux openssh
|
||||
- echo "$WANESSA_SSH_PRIVKEY" > /tmp/ssh
|
||||
- apk add git openssh
|
||||
- echo "$SSH_PRIVATE_KEY" > /tmp/ssh
|
||||
- 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"
|
||||
@ -123,10 +123,10 @@ steps:
|
||||
- git add *
|
||||
- git status
|
||||
- git commit -m "rustfmt"
|
||||
- ssh -V
|
||||
- whereis ssh
|
||||
- git push ssh
|
||||
environment:
|
||||
SSH_PRIVATE_KEY:
|
||||
from_secret: WANESSA_SSH_PRIVKEY
|
||||
GIT_EMAIL_ADDRESS:
|
||||
from_secret: WANESSA_EMAIL_ADDRESS
|
||||
|
||||
|
Reference in New Issue
Block a user