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:
|
USER:
|
||||||
from_secret: user
|
from_secret: user
|
||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: ssh_key
|
from_secret: rsync_key
|
||||||
SITE_PATH:
|
SITE_PATH:
|
||||||
from_secret: path
|
from_secret: path
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ steps:
|
||||||
- apk add openssh rsync
|
- apk add openssh rsync
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- echo "$RSYNC_KEY" > ~/.ssh/id_rsa
|
- echo "$SSH_KEY" > ~/.ssh/id_rsa
|
||||||
- chmod 600 ~/.ssh/id_rsa
|
- chmod 600 ~/.ssh/id_rsa
|
||||||
- ssh-add
|
- ssh-add
|
||||||
- echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
- echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||||
|
|
Loading…
Reference in New Issue