crm-h5/.drone.yml
XinWei 280bad318f
Some checks failed
continuous-integration/drone/push Build is failing
init
2024-07-29 10:12:57 +08:00

24 lines
339 B
YAML

kind: pipeline
name: default
steps:
- name: build
image: node:16.18.1
commands:
- npm install
- npm run build
- ls
- cd dist
- ls
- cd build
- ls
#- name: test
# image: node:16.18.1
# commands:
# - npm run test
- name: deploy
image: nginx:1.21
commands:
- cp -r build/. /usr/share/nginx/html