This commit is contained in:
Giles Bradshaw 2020-09-22 10:32:34 +01:00
parent 0ab3b5fe8c
commit ae2f946c4a
1 changed files with 6 additions and 11 deletions

View File

@ -41,18 +41,13 @@ steps:
- drone_gitea_client_id - drone_gitea_client_id
- drone_gitea_server - drone_gitea_server
- drone_server_host - drone_server_host
- host
- user
- port
- password
- drone_gitea_client_secret - drone_gitea_client_secret
- drone_rpc_secret - drone_rpc_secret
- key host: ${SSH_HOST}
host: ${HOST} key: ${SSH_KEY}
key: ${KEY}
#password: ${PASSWORD} #password: ${PASSWORD}
#passphrase: ${SSH_PASSPHRASE} #passphrase: ${SSH_PASSPHRASE}
port: ${PORT} port: ${SSH_PORT}
script: script:
- rm -f env-drone - rm -f env-drone
- cat /proc/sys/kernel/hostname - cat /proc/sys/kernel/hostname
@ -90,11 +85,11 @@ steps:
from_secret: registry-password from_secret: registry-password
REGISTRY_PORT: REGISTRY_PORT:
from_secret: registry-port from_secret: registry-port
HOST: SSH_HOST:
from_secret: ssh-host from_secret: ssh-host
KEY: SSH_KEY:
from_secret: ssh-key from_secret: ssh-key
PORT: SSH_PORT:
from_secret: ssh-port from_secret: ssh-port
SSH_USER: SSH_USER:
from_secret: ssh-user from_secret: ssh-user