restore lengthier way that worked
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
This commit is contained in:
parent
a41e16105c
commit
e60a63dbc8
|
@ -4,6 +4,11 @@ pipeline:
|
|||
image: alpine:latest
|
||||
commands:
|
||||
- apk add openssh openrc
|
||||
- echo "${SSH_KEY}" | ssh-add -
|
||||
- ssh -o StrictHostKeyChecking=no cd@crm.bij1.net rundeploy
|
||||
- mkdir -p ~/.ssh/
|
||||
- |
|
||||
cat > ~/.ssh/id_rsa <<EOF
|
||||
$SSH_KEY
|
||||
EOF
|
||||
- chmod 600 ~/.ssh/id_rsa
|
||||
- ssh -o StrictHostKeyChecking=no deploy@crm.bij1.net rundeploy
|
||||
secrets: [ ssh_key ]
|
||||
|
|
Loading…
Reference in New Issue