Removed variable expansion because plugin doesnt support it
This commit is contained in:
@@ -125,14 +125,12 @@ steps:
|
||||
- name: prod
|
||||
image: appleboy/drone-ssh
|
||||
environment:
|
||||
SSH_USER:
|
||||
PLUGIN_USER:
|
||||
from_secret: ssh_prod_user
|
||||
SSH_PASS:
|
||||
PLUGIN_PASSWORD:
|
||||
from_secret: ssh_prod_password
|
||||
PLUGIN_HOST: ssh_prod_host
|
||||
settings:
|
||||
host: 192.168.1.48
|
||||
username: ${SSH_USER}
|
||||
password: ${SSH_PASS}
|
||||
script:
|
||||
- docker stop webapi || true
|
||||
- docker rm webapi || true
|
||||
|
||||
Reference in New Issue
Block a user