pad_stick_doc/.drone.yml
taoya7 d6f81b7963
Some checks failed
continuous-integration/drone Build is failing
【update】 doc
2022-05-16 09:24:01 +08:00

30 lines
595 B
YAML

kind: pipeline
type: docker
name: 构建任务
steps:
- name: 编译文件
image: node:16.13.1
pull: if-not-exists # always never
commands:
- node -v
- npm -v
- npm install -g nrm
- nrm ls
- nrm use taobao
- yarn
- yarn docs:build
- name: 上传FTP
image: cschlosser/drone-ftps
environment:
FTP_USERNAME:
from_secret: username
FTP_PASSWORD:
from_secret: password
PLUGIN_HOSTNAME: 124.223.209.101:21
PLUGIN_DEST_DIR: /
PLUGIN_SRC_DIR: /docs-dist
PLUGIN_SECURE: false
PLUGIN_VERIFY: false
PLUGIN_EXCLUDE: ^\.git/$