This commit is contained in:
Giles Bradshaw 2020-09-22 11:01:47 +01:00
parent 2b0c16a963
commit fc80a55d38
1 changed files with 2 additions and 4 deletions

View File

@ -43,8 +43,6 @@ steps:
- drone_server_host
- drone_gitea_client_secret
- drone_rpc_secret
- ssh_key1
- ssh_user
host: ${SSH_HOST}
#key: ${SSH_KEY}
#password: ${PASSWORD}
@ -70,7 +68,7 @@ steps:
- "echo \"export DRONE_RPC_SECRET='$${DRONE_RPC_SECRET}'\" >> env-drone # \"drone-rpc-secret\""
- "echo \"export SSH_KEY='$${SSH_KEY}'\" >> env-drone # \"ssh-key\""
- cat env-drone
username: ${SSH_USERNAME}
username: ${SSH_USER}
environment:
DOMAIN:
from_secret: domain
@ -96,7 +94,7 @@ steps:
from_secret: ssh-key
SSH_PORT:
from_secret: ssh-port
SSH_USERNAME:
SSH_USER:
from_secret: ssh-user
SSH_PASSWORD:
from_secret: ssh-password