This commit is contained in:
xinian
2026-01-28 00:24:02 +08:00
parent 8635b5e6a5
commit d4abb17224

View File

@@ -87,16 +87,15 @@ main:
image: appleboy/drone-scp:1.6.2
imports: https://cnb.cool/blzing/key/-/blob/main/githubkey.yml
settings:
SCP_HOST: ${LOGIN_SERVER_HOST}
SCP_USERNAME: ${LOGIN_SERVER_USER}
SCP_PASSWORD: ${LOGIN_SERVER_PASSWORD}
SCP_PORT: ${LOGIN_SERVER_PORT}
SCP_SOURCE:
host: ${LOGIN_SERVER_HOST}
username: ${LOGIN_SERVER_USER}
password: ${LOGIN_SERVER_PASSWORD}
port: ${LOGIN_SERVER_PORT}
source:
- ./build/login_*
- ./build/logic_*
SCP_TARGET: /opt/
target: /opt/
strip_components: 2
skip_verify: true
# ========== SSH启动Login服务并上传Logic到Public ==========
- name: start login and move logic