This commit is contained in:
parent
9a5dfad5a5
commit
71736fa726
|
@ -50,9 +50,9 @@ steps:
|
||||||
- ssh_key
|
- ssh_key
|
||||||
#host: ${SSH_HOST}
|
#host: ${SSH_HOST}
|
||||||
#key: ${SSH_KEY}
|
#key: ${SSH_KEY}
|
||||||
#password: ${SSH_PASSWORD}
|
password: ${SSH_PASSWORD}
|
||||||
#passphrase: ${SSH_PASSPHRASE}
|
#passphrase: ${SSH_PASSPHRASE}
|
||||||
port: ${SSH_PORT}
|
port: ${PORT}
|
||||||
script:
|
script:
|
||||||
- rm -f env-drone
|
- rm -f env-drone
|
||||||
- "echo \"export REGISTRY_DOMAIN='$${REGISTRY_DOMAIN}'\" >> env-drone # \"registry-domain\""
|
- "echo \"export REGISTRY_DOMAIN='$${REGISTRY_DOMAIN}'\" >> env-drone # \"registry-domain\""
|
||||||
|
@ -90,14 +90,14 @@ steps:
|
||||||
from_secret: registry-port
|
from_secret: registry-port
|
||||||
SSH_HOST:
|
SSH_HOST:
|
||||||
from_secret: ssh-host
|
from_secret: ssh-host
|
||||||
SSH_KEY:
|
#SSH_KEY:
|
||||||
from_secret: ssh-key
|
# from_secret: ssh-key
|
||||||
SSH_PORT:
|
PORT:
|
||||||
from_secret: ssh-port
|
from_secret: port
|
||||||
SSH_USER:
|
SSH_USER:
|
||||||
from_secret: ssh-user
|
from_secret: ssh-user
|
||||||
#SSH_PASSWORD:
|
SSH_PASSWORD:
|
||||||
# from_secret: ssh-password
|
from_secret: ssh-password
|
||||||
|
|
||||||
- name: scp
|
- name: scp
|
||||||
image: appleboy/drone-scp:1.6.2@sha256:bd37a55f4b97e7742b0de7333669b96220b3cc422d366e1fa8c34059b736ab47
|
image: appleboy/drone-scp:1.6.2@sha256:bd37a55f4b97e7742b0de7333669b96220b3cc422d366e1fa8c34059b736ab47
|
||||||
|
|
Loading…
Reference in New Issue