0
0
mirror of https://github.com/thegeeklab/wp-s3-action.git synced 2024-11-09 18:30:40 +00:00
wp-s3-action/.drone.yml
2015-10-16 13:09:45 -07:00

33 lines
533 B
YAML

build:
image: golang:1.5
environment:
- GO15VENDOREXPERIMENT=1
- GOOS=linux
- GOARCH=amd64
- CGO_ENABLED=0
commands:
- go get
- go build
- go test
publish:
docker:
username: drone
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: plugins/drone-s3-sync
when:
branch: master
plugin:
name: S3 Sync
desc: Syncs a directory with an Amason S3 Bucket
type: publish
image: plugins/drone-s3-sync
labels:
- publish
- artifacts
- amazon
- aws
- s3