JOJ3/.drone.yml
张泊明518370910136 02098d949e
All checks were successful
continuous-integration/drone/push Build is passing
ci: hardcode cp dst path
2024-03-04 22:18:17 -05:00

19 lines
326 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
commands:
- export PATH=$PATH:/usr/local/go/bin
- go env -w GOPROXY=https://goproxy.cn,direct
- make
- ./_example/simple/run.sh
- cp build/joj3 /home/drone/.local/bin/joj3