GOGS_ACCOUNT_TOKEN env var for upload nightlies
continuous-integration/drone/pr Build is pending Details

This commit is contained in:
Sarah Jamie Lewis 2024-02-26 14:08:21 -08:00
parent fcd16b19c8
commit 1217104e0b
Signed by: sarah
GPG Key ID: F27FD21A270837EF
1 changed files with 2 additions and 5 deletions

View File

@ -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,9 +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