JOJ3/.drone.yml
张泊明518370910136 0abd1158fb
All checks were successful
continuous-integration/drone/push Build is passing
ci: run with gitea token
2024-03-06 03:17:21 -05:00

23 lines
430 B
YAML

---
kind: pipeline
type: ssh
name: CI
server:
host: 111.186.59.59
user: drone
ssh_key:
from_secret: joj3-test
steps:
- name: build
environment:
CONF_GITEATOKEN:
from_secret: gitea-token
commands:
- export PATH=$PATH:/usr/local/go/bin
- go env -w GOPROXY=https://goproxy.cn,direct
- make
- ./_example/success/run.sh
- ./_example/compile_error/run.sh
- cp build/joj3 /home/drone/.local/bin/joj3