This commit is contained in:
Giles Bradshaw 2020-09-22 10:06:19 +01:00
parent 9a5dfad5a5
commit 71736fa726
1 changed files with 8 additions and 8 deletions

View File

@ -50,9 +50,9 @@ steps:
- ssh_key
#host: ${SSH_HOST}
#key: ${SSH_KEY}
#password: ${SSH_PASSWORD}
password: ${SSH_PASSWORD}
#passphrase: ${SSH_PASSPHRASE}
port: ${SSH_PORT}
port: ${PORT}
script:
- rm -f env-drone
- "echo \"export REGISTRY_DOMAIN='$${REGISTRY_DOMAIN}'\" >> env-drone # \"registry-domain\""
@ -90,14 +90,14 @@ steps:
from_secret: registry-port
SSH_HOST:
from_secret: ssh-host
SSH_KEY:
from_secret: ssh-key
SSH_PORT:
from_secret: ssh-port
#SSH_KEY:
# from_secret: ssh-key
PORT:
from_secret: port
SSH_USER:
from_secret: ssh-user
#SSH_PASSWORD:
# from_secret: ssh-password
SSH_PASSWORD:
from_secret: ssh-password
- name: scp
image: appleboy/drone-scp:1.6.2@sha256:bd37a55f4b97e7742b0de7333669b96220b3cc422d366e1fa8c34059b736ab47