Merge pull request #259 from tboerger/drone-fixes

Fixed s3 publishing within drone
This commit is contained in:
Thomas Boerger 2016-11-25 11:48:17 +01:00 committed by GitHub
commit 177a4c7385
2 changed files with 7 additions and 4 deletions

@ -69,7 +69,8 @@ pipeline:
release:
image: plugins/s3
path_style: true
source: dist/release/
strip_prefix: dist/release/
source: dist/release/*
target: /gitea/master
when:
event: [ push ]
@ -78,7 +79,8 @@ pipeline:
release:
image: plugins/s3
path_style: true
source: dist/release/
strip_prefix: dist/release/
source: dist/release/*
target: /gitea/$$TAG
when:
event: [ tag ]
@ -87,7 +89,8 @@ pipeline:
latest:
image: plugins/s3
path_style: true
source: dist/latest/
strip_prefix: dist/latest/
source: dist/latest/*
target: /gitea/latest
when:
event: [ tag ]

File diff suppressed because one or more lines are too long