diff --git a/.drone.yml b/.drone.yml index c171b3c..1f877cb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,3 +13,16 @@ steps: - nrm use taobao - npm i - npm run docs:build + +- name: 上传FTP + image: cschlosser/drone-ftps + environment: + FTP_USERNAME: + from_secret: doc + FTP_PASSWORD: + from_secret: YDdErXmjTsjSAnmC + PLUGIN_HOSTNAME: 124.223.209.101:21 + PLUGIN_DEST_DIR: /docs-dist + PLUGIN_SECURE: false + PLUGIN_VERIFY: false + PLUGIN_EXCLUDE: ^\.git/$ \ No newline at end of file