This commit is contained in:
parent
bef33b6c0e
commit
9eff99240d
|
@ -27,9 +27,9 @@ steps:
|
|||
SSH_KEY:
|
||||
from_secret: ssh_key
|
||||
commands:
|
||||
- mkdir $HOME/.ssh
|
||||
- echo "$${SSH_KEY}" > ${HOME}/.ssh/id_ed25519
|
||||
- chmod 600 ${HOME}/.ssh/id_ed25519
|
||||
- mkdir ~/.ssh
|
||||
- echo "$${SSH_KEY}" > ~/.ssh/id_ed25519
|
||||
- chmod 600 ~/.ssh/id_ed25519
|
||||
- scp -o "StrictHostKeyChecking no" -P $${SSH_PORT} -r /data/public $${SSH_USER}@$${SSH_HOST}:docker/nginx/website
|
||||
|
||||
volumes:
|
||||
|
|
Loading…
Reference in a new issue