Fix stale secrets in CI
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kayomn 2023-08-19 21:11:06 +01:00
parent c9b97e0a60
commit c1a93a7a06
1 changed files with 2 additions and 2 deletions

View File

@ -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