From c602278dc52df1eab0c62a8237c1b573ec9e773f Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 12 Jun 2018 20:37:29 +0200 Subject: [PATCH] changed download method in drone script --- .drone.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 69bd279..e245251 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,4 +1,11 @@ pipeline: + + +pipeline: + download: + image: plugins/download + source: https://schlomp.space/attachments/b3119713-4c05-4acc-9cb4-460b15e19279 + destination: mastodon-cpp.deb build: image: debian:buster-slim pull: true @@ -6,8 +13,6 @@ pipeline: - apt-get update - apt-get install -y build-essential cmake pkg-config - apt-get install -y libcurl4-openssl-dev libcurlpp-dev libjsoncpp-dev libxdg-basedir-dev - - apt-get install -y curl - - curl -so mastodon-cpp.deb https://schlomp.space/attachments/b3119713-4c05-4acc-9cb4-460b15e19279 - dpkg -i mastodon-cpp.deb - mkdir -p build && cd build - cmake ..