Skip to content

Commit

Permalink
#882 improve process
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Oct 16, 2020
1 parent bbb5553 commit 09c3f39
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,30 @@ steps:
when:
event: [tag]

- name: upload report-templates to bintray
image: thehiveproject/drone-bintray
settings:
user: {from_secret: bintray_user}
key: {from_secret: bintray_key}
subject: thehive-project
package: report-templates
version: latest
override: 1
publish: 1
commands:
- |
export PLUGIN_USER
export PLUGIN_KEY
export PLUGIN_SUBJECT
export PLUGIN_PACKAGE
export PLUGIN_VERSION
export PLUGIN_OVERRIDE
export PLUGIN_PUBLISH
upload \
--file analyzers/report-templates.zip \
--repo binary
when:
event: [tag]

- name: upload catalogs and report-templates package to package server
image: appleboy/drone-scp
Expand All @@ -112,7 +136,7 @@ steps:
- analyzers/analyzers-stable.json
- responders/responders.json
- responders/responders-stable.json
- report-templates.zip
- analyzers/report-templates.zip
strip_components: 1
when:
event: [tag]
Expand Down

0 comments on commit 09c3f39

Please sign in to comment.