From a5b3bb83a3846facefe87bea30afb68e3778b057 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Mon, 26 Feb 2024 14:08:21 -0800 Subject: [PATCH] GOGS_ACCOUNT_TOKEN env var for upload nightlies --- .drone.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1fffae52..88e18893 100644 --- a/.drone.yml +++ b/.drone.yml @@ -117,8 +117,8 @@ steps: - name: upload-nightlies image: openpriv/flutter-desktop:linux-fstable-3.13.4 environment: - BUILDFILES_KEY: - from_secret: buildfiles_key + GOGS_ACCOUNT_TOKEN: + from_secret: gogs_account_token secrets: [gogs_account_token] volumes: - name: deps @@ -127,10 +127,6 @@ steps: event: push status: [ success ] commands: - - echo $BUILDFILES_KEY > ~/id_rsab64 - - base64 -d ~/id_rsab64 > ~/id_rsa - - chmod 400 ~/id_rsa - # TODO When we update Flutter Container to 3.19 migrate these calls... - apt update - apt install -y jq openssh-client ca-certificates curl - ./upload-releases.sh deploy/cwtch-`cat VERSION`.apk application/vnd.android.package-archive