Files
BlackFruit-UI/.drone.yml
arlenops d69732af1c
Some checks failed
continuous-integration/drone/push Build was killed
dffdfdf
2025-11-20 16:08:57 +08:00

21 lines
512 B
YAML

kind: pipeline
name: web模块
steps:
- name: Pull latest code from Gitea
image: alpine:latest
timeout: 3m
commands:
- apk add --no-cache git
- cd /www/wwwroot/hgdemo.hgidc.cn/public/web/BlackFruit-web
- git clone https://yiqiu:ycyawCOM996.@gitea.ycyaw.com/yiqiu/BlackFruit-UI.git . || git pull
- ls -l
- name: Restart Nginx
image: alpine:latest
timeout: 1m
commands:
- apk add --no-cache nginx
- nginx -s reload
when:
branch: main