woodpecker: usar ssh-agent para llaves
This commit is contained in:
parent
c26d69777e
commit
2374719d62
1 changed files with 4 additions and 1 deletions
|
@ -2,8 +2,11 @@ pipeline:
|
||||||
deploy:
|
deploy:
|
||||||
image: registry.nulo.in/sutty/haini.sh:latest
|
image: registry.nulo.in/sutty/haini.sh:latest
|
||||||
commands:
|
commands:
|
||||||
|
- eval $(ssh-agent -s)
|
||||||
|
- echo "$SSH_KEY" | tr -d '\r' | ssh-add -
|
||||||
- mkdir ~/.ssh/
|
- mkdir ~/.ssh/
|
||||||
- echo $${SSH_KEY} > ~/.ssh/id_ed25519
|
- chmod 700 ~/.ssh
|
||||||
|
|
||||||
- make bundle hain="sh -c"
|
- make bundle hain="sh -c"
|
||||||
- make yarn hain="sh -c"
|
- make yarn hain="sh -c"
|
||||||
- make ota-js hain="sh -c"
|
- make ota-js hain="sh -c"
|
||||||
|
|
Loading…
Reference in a new issue