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