diff --git a/.cnb.yml b/.cnb.yml index 08f1341e..b1b6cf7f 100644 --- a/.cnb.yml +++ b/.cnb.yml @@ -87,14 +87,14 @@ main: image: appleboy/drone-scp:1.6.2 imports: https://cnb.cool/blzing/key/-/blob/main/githubkey.yml settings: - host: ${LOGIN_SERVER_HOST} - username: ${LOGIN_SERVER_USER} - password: ${LOGIN_SERVER_PASSWORD} - port: ${LOGIN_SERVER_PORT} - source: + SCP_HOST: ${LOGIN_SERVER_HOST} + SCP_USERNAME: ${LOGIN_SERVER_USER} + SCP_PASSWORD: ${LOGIN_SERVER_PASSWORD} + SCP_PORT: ${LOGIN_SERVER_PORT} + SCP_SOURCE: - ./build/login_* - ./build/logic_* - target: /opt/ + SCP_TARGET: /opt/ strip_components: 2 skip_verify: true