This commit is contained in:
parent
44256d7b10
commit
150acef912
24
.drone.yml
24
.drone.yml
|
@ -81,18 +81,6 @@ volumes:
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: upload
|
name: upload
|
||||||
|
|
||||||
environment:
|
|
||||||
B2_ACCOUNT:
|
|
||||||
from_secret: b2_account
|
|
||||||
B2_BUCKET_ID:
|
|
||||||
from_secret: b2_bucketId
|
|
||||||
B2_TOKEN:
|
|
||||||
from_secret: b2_token
|
|
||||||
B2_KEY_ID:
|
|
||||||
from_secret: b2_keyId
|
|
||||||
B2_KEY:
|
|
||||||
from_secret: b2_key
|
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
@ -121,6 +109,18 @@ steps:
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /run/cache
|
path: /run/cache
|
||||||
|
environment:
|
||||||
|
B2_ACCOUNT:
|
||||||
|
from_secret: b2_account
|
||||||
|
B2_BUCKET_ID:
|
||||||
|
from_secret: b2_bucketId
|
||||||
|
B2_TOKEN:
|
||||||
|
from_secret: b2_token
|
||||||
|
B2_KEY_ID:
|
||||||
|
from_secret: b2_keyId
|
||||||
|
B2_KEY:
|
||||||
|
from_secret: b2_key
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
- ls -la /run/cache
|
- ls -la /run/cache
|
||||||
- export FILE_TO_UPLOAD=$(ls /run/cache | head -1)
|
- export FILE_TO_UPLOAD=$(ls /run/cache | head -1)
|
||||||
|
|
Loading…
Reference in New Issue