auto-format #20
@ -114,8 +114,8 @@ steps:
|
|||||||
- rustup component add rustfmt
|
- rustup component add rustfmt
|
||||||
- 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 util-linux openssh
|
- apk add git openssh
|
||||||
- echo "$WANESSA_SSH_PRIVKEY" > /tmp/ssh
|
- echo "$SSH_PRIVATE_KEY" > /tmp/ssh
|
||||||
- git config --local core.sshCommand "/usr/bin/ssh -i /tmp/ssh"
|
- git config --local core.sshCommand "/usr/bin/ssh -i /tmp/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"
|
||||||
@ -123,10 +123,10 @@ steps:
|
|||||||
- git add *
|
- git add *
|
||||||
- git status
|
- git status
|
||||||
- git commit -m "rustfmt"
|
- git commit -m "rustfmt"
|
||||||
- ssh -V
|
|
||||||
- whereis ssh
|
|
||||||
- git push ssh
|
- git push ssh
|
||||||
environment:
|
environment:
|
||||||
|
SSH_PRIVATE_KEY:
|
||||||
|
from_secret: WANESSA_SSH_PRIVKEY
|
||||||
GIT_EMAIL_ADDRESS:
|
GIT_EMAIL_ADDRESS:
|
||||||
from_secret: WANESSA_EMAIL_ADDRESS
|
from_secret: WANESSA_EMAIL_ADDRESS
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user