mirror of
https://github.com/thegeeklab/wp-s3-action.git
synced 2024-11-10 04:40:38 +00:00
29 lines
440 B
YAML
29 lines
440 B
YAML
workspace:
|
|
base: /go
|
|
|
|
pipeline:
|
|
build:
|
|
image: golang:1.6
|
|
commands:
|
|
- CGO_ENABLED=0 go build
|
|
|
|
docker:
|
|
repo: plugins/drone-s3-sync
|
|
storage_driver: overlay
|
|
tag: latest
|
|
when:
|
|
branch: master
|
|
event: push
|
|
|
|
plugin:
|
|
name: S3 Sync
|
|
desc: Sync a directory with an Amazon S3 Bucket
|
|
type: publish
|
|
image: plugins/drone-s3-sync
|
|
labels:
|
|
- publish
|
|
- artifacts
|
|
- amazon
|
|
- aws
|
|
- s3
|