Files
ais/.drone.yml
heimoshuiyu ce06bdab44
Some checks reported errors
continuous-integration/drone/push Build encountered an error
add ci
2022-12-13 08:17:02 +08:00

27 lines
406 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build-frontend
image: node:19
commands:
- cd web
- npm config set registry=https://registry.npmmirror.com
- npm install
- npm run build
steps:
- name: build-backend
image: golang
environment:
GOPROXY: "goproxy.cn"
commands:
- go build -v .
step:
- name: deploy:
image: golang
commands:
- echo "Deploy successed"