mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-07-05 22:02:49 +08:00
Use new make tasks within drone config
This commit is contained in:
parent
2fe7e43ba0
commit
b71dd3a715
14
.drone.yml
14
.drone.yml
@ -1,14 +1,10 @@
|
|||||||
build:
|
build:
|
||||||
image: golang:1.5
|
image: golang:1.5
|
||||||
environment:
|
|
||||||
- GO15VENDOREXPERIMENT=1
|
|
||||||
- GOOS=linux
|
|
||||||
- GOARCH=amd64
|
|
||||||
- CGO_ENABLED=0
|
|
||||||
commands:
|
commands:
|
||||||
- go get
|
- make deps
|
||||||
- go build
|
- make vet
|
||||||
- go test
|
- make build
|
||||||
|
- make test
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
docker:
|
docker:
|
||||||
@ -21,7 +17,7 @@ publish:
|
|||||||
|
|
||||||
plugin:
|
plugin:
|
||||||
name: SSH
|
name: SSH
|
||||||
desc: Use SSH to execute commands on a remote host
|
desc: Execute commands on a remote host through SSH
|
||||||
type: deploy
|
type: deploy
|
||||||
image: plugins/drone-ssh
|
image: plugins/drone-ssh
|
||||||
labels:
|
labels:
|
||||||
|
Loading…
Reference in New Issue
Block a user