All checks were successful
continuous-integration/drone/push Build is passing
20 lines
363 B
YAML
20 lines
363 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/success/run.sh
|
|
- ./_example/compile_error/run.sh
|
|
- cp build/joj3 /home/drone/.local/bin/joj3
|