summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorThomas Boerger <tboerger@suse.de>2016-11-25 10:53:48 +0100
committerThomas Boerger <tboerger@suse.de>2016-11-25 10:53:48 +0100
commit0accc935a331114069f56a09f3373a67f573714d (patch)
tree0b651c93728320dbd2f3130323240e6064e61c02 /.drone.yml
parent5d4333eb0d4a585c97445a0c771713a957c525a6 (diff)
downloadgitea-0accc935a331114069f56a09f3373a67f573714d.tar.gz
gitea-0accc935a331114069f56a09f3373a67f573714d.zip
Fixed s3 publishing within drone
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.drone.yml b/.drone.yml
index 91d9e01d93..c94e5eb16f 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -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 ]