change ci
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
jqtmviyu 2023-04-19 21:54:27 +08:00
parent 0678008e3b
commit c2e28a90d7

View File

@ -17,17 +17,17 @@ steps:
DEPLOY_PATH: # 环境变量
from_secret: /home/hxx/app/NginxProxyManager/data/access/myIndex/${DRONE_REPO_NAME}
settings:
host:
from_secret: host
username:
from_secret: username
password:
from_secret: password
port: 22
command_timeout: 2m
envs: [DEPLOY_PATH] # 给 script 用
script:
- rm -rf $${DEPLOY_PATH}
host:
from_secret: host
username:
from_secret: username
password:
from_secret: password
port: 22
command_timeout: 2m
envs: [DEPLOY_PATH] # 给 script 用
script:
- rm -rf $${DEPLOY_PATH}
- name: upload
image: appleboy/drone-scp # 上传插件