Fix mismatched encryption in ssh key
This commit is contained in:
parent
e2ce39f9c1
commit
d0021634e0
|
@ -30,8 +30,8 @@ steps:
|
||||||
- apk add openssh rsync
|
- apk add openssh rsync
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- echo "$SSH_KEY" > ~/.ssh/id_rsa
|
- echo "$SSH_KEY" > ~/.ssh/id_ed25519
|
||||||
- chmod 600 ~/.ssh/id_rsa
|
- chmod 600 ~/.ssh/id_ed25519
|
||||||
- ssh-add
|
- ssh-add
|
||||||
- echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
- echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||||
- rsync -rP public/ "$${USER}@$${HOST}:$${SITE_PATH}"
|
- rsync -rP public/ "$${USER}@$${HOST}:$${SITE_PATH}"
|
||||||
|
|
Loading…
Reference in New Issue