mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-07-02 21:52:51 +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:
|
||||
image: golang:1.5
|
||||
environment:
|
||||
- GO15VENDOREXPERIMENT=1
|
||||
- GOOS=linux
|
||||
- GOARCH=amd64
|
||||
- CGO_ENABLED=0
|
||||
commands:
|
||||
- go get
|
||||
- go build
|
||||
- go test
|
||||
- make deps
|
||||
- make vet
|
||||
- make build
|
||||
- make test
|
||||
|
||||
publish:
|
||||
docker:
|
||||
@ -21,7 +17,7 @@ publish:
|
||||
|
||||
plugin:
|
||||
name: SSH
|
||||
desc: Use SSH to execute commands on a remote host
|
||||
desc: Execute commands on a remote host through SSH
|
||||
type: deploy
|
||||
image: plugins/drone-ssh
|
||||
labels:
|
||||
|
Loading…
Reference in New Issue
Block a user