This commit is contained in:
parent
613e740ffd
commit
d6039fc59a
|
@ -28,9 +28,9 @@ steps:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
commands:
|
commands:
|
||||||
- mkdir $HOME/.ssh
|
- mkdir $HOME/.ssh
|
||||||
- echo "$SSH_KEY" > $HOME/.ssh/id_ed25519
|
- echo "$$SSH_KEY" > $HOME/.ssh/id_ed25519
|
||||||
- chmod 600 $HOME/.ssh/id_ed25519
|
- chmod 600 $HOME/.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:
|
||||||
- name: data
|
- name: data
|
||||||
|
|
Loading…
Reference in a new issue