mirror of
https://codeberg.org/gothub/docs
synced 2024-12-06 19:16:44 +01:00
+3
-1
@@ -11,7 +11,9 @@ pipeline:
|
||||
- mkdir ~/.ssh
|
||||
- ssh-keyscan -t ed25519 codeberg.org >> ~/.ssh/known_hosts
|
||||
- eval `ssh-agent`
|
||||
- echo "$SSH_KEY" | tr -d '\r' | ssh-add -
|
||||
- echo "$SSH_KEY" | tr -d '\r' > ~/.ssh/id_ed25519
|
||||
- chmod 600 ~/.ssh/id_ed25519
|
||||
- ssh-add ~/.ssh/id_ed25519
|
||||
# Configure Git
|
||||
- git config --global user.email $MAIL
|
||||
- git config --global user.name "Woodpecker CI"
|
||||
|
||||
Reference in New Issue
Block a user