Skip to content

Instantly share code, notes, and snippets.

@andresvia
Created January 4, 2017 13:26
Show Gist options
  • Save andresvia/995806bb1eaa7f290623a2050fc6d508 to your computer and use it in GitHub Desktop.
Save andresvia/995806bb1eaa7f290623a2050fc6d508 to your computer and use it in GitHub Desktop.
golang + drone full example
build:
construyendo_1:
image: golang
commands:
- go get ./...
- go test ./...
- go build -o miprograma
publish:
publicando_1:
image: plugins/drone-sftp
host: sftp.company.com
port: 2222
username: user
password: pa$$word
files:
- miprograma
package main
func main () {
println("hello wonderful world of go!")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment