Fix .drone.yml
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sam A. 2022-05-24 00:30:44 +02:00
parent 613e740ffd
commit d6039fc59a
1 changed files with 2 additions and 2 deletions

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