Fix stale secrets in CI
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
c9b97e0a60
commit
c1a93a7a06
|
@ -17,7 +17,7 @@ steps:
|
|||
USER:
|
||||
from_secret: user
|
||||
SSH_KEY:
|
||||
from_secret: ssh_key
|
||||
from_secret: rsync_key
|
||||
SITE_PATH:
|
||||
from_secret: path
|
||||
|
||||
|
@ -30,7 +30,7 @@ steps:
|
|||
- apk add openssh rsync
|
||||
- eval $(ssh-agent -s)
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$RSYNC_KEY" > ~/.ssh/id_rsa
|
||||
- echo "$SSH_KEY" > ~/.ssh/id_rsa
|
||||
- chmod 600 ~/.ssh/id_rsa
|
||||
- ssh-add
|
||||
- echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||
|
|
Loading…
Reference in New Issue