Fix .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sam A. 2022-05-24 00:30:44 +02:00
parent 613e740ffd
commit d6039fc59a

View file

@ -28,9 +28,9 @@ steps:
from_secret: ssh_key
commands:
- mkdir $HOME/.ssh
- echo "$SSH_KEY" > $HOME/.ssh/id_ed25519
- echo "$$SSH_KEY" > $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:
- name: data