From 9793a0e52129f256569049e62c77074bd6072cf9 Mon Sep 17 00:00:00 2001
From: Felix Ableitner <me@nutomic.com>
Date: Thu, 10 Dec 2020 17:33:23 +0100
Subject: [PATCH] install correct yarn package

---
 .drone.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.drone.yml b/.drone.yml
index db4ca638..fdb4e995 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -82,7 +82,9 @@ steps:
       LEMMY_SETUP__ADMIN_USERNAME: lemmy_alpha
       LEMMY_SETUP__SITE_NAME: lemmy-alpha
     commands:
-      - apt-get -y update
+      - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
+      - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
+      - sudo apt-get update
       - apt-get -y install --no-install-recommends yarn
       - mkdir -p volumes/pictrs_{alpha,beta,gamma,delta,epsilon}
       - chown -R 991:991 volumes/pictrs_{alpha,beta,gamma,delta,epsilon}
-- 
2.44.1