This commit is contained in:
parent
44256d7b10
commit
150acef912
24
.drone.yml
24
.drone.yml
|
@ -81,18 +81,6 @@ volumes:
|
|||
kind: pipeline
|
||||
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:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
@ -121,6 +109,18 @@ steps:
|
|||
volumes:
|
||||
- name: 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:
|
||||
- ls -la /run/cache
|
||||
- export FILE_TO_UPLOAD=$(ls /run/cache | head -1)
|
||||
|
|
Loading…
Reference in New Issue