GOGS_ACCOUNT_TOKEN env var for upload nightlies
continuous-integration/drone/pr Build is pending
Details
continuous-integration/drone/pr Build is pending
Details
This commit is contained in:
parent
fcd16b19c8
commit
a479c2aeba
10
.drone.yml
10
.drone.yml
|
@ -117,8 +117,8 @@ steps:
|
||||||
- name: upload-nightlies
|
- name: upload-nightlies
|
||||||
image: openpriv/flutter-desktop:linux-fstable-3.13.4
|
image: openpriv/flutter-desktop:linux-fstable-3.13.4
|
||||||
environment:
|
environment:
|
||||||
BUILDFILES_KEY:
|
GOGS_ACCOUNT_TOKEN:
|
||||||
from_secret: buildfiles_key
|
from_secret: gogs_account_token
|
||||||
secrets: [gogs_account_token]
|
secrets: [gogs_account_token]
|
||||||
volumes:
|
volumes:
|
||||||
- name: deps
|
- name: deps
|
||||||
|
@ -127,13 +127,11 @@ steps:
|
||||||
event: push
|
event: push
|
||||||
status: [ success ]
|
status: [ success ]
|
||||||
commands:
|
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...
|
# TODO When we update Flutter Container to 3.19 migrate these calls...
|
||||||
- apt update
|
- apt update
|
||||||
- apt install -y jq openssh-client ca-certificates curl
|
- apt install -y jq openssh-client ca-certificates curl
|
||||||
- ./upload-releases.sh deploy/cwtch-`cat VERSION`.apk application/vnd.android.package-archive
|
- cd deploy
|
||||||
|
- ../upload-releases.sh cwtch-`cat VERSION`.apk application/vnd.android.package-archive
|
||||||
|
|
||||||
- name: deploy-buildfiles
|
- name: deploy-buildfiles
|
||||||
image: kroniak/ssh-client
|
image: kroniak/ssh-client
|
||||||
|
|
Loading…
Reference in New Issue