Fix artifact uploads(hopefully)

This commit is contained in:
Bad 2020-10-20 10:46:35 +02:00
parent 490066a292
commit 01b4b69706

View file

@ -23,12 +23,11 @@ steps:
environment: environment:
BUCKET: carbon-artifacts BUCKET: carbon-artifacts
ACCOUNT: B2_ACCOUNT_ID:
from_secret: b2_account_id from_secret: b2_account_id
KEY: B2_APPLICATION_KEY:
from_secret: b2_application_key from_secret: b2_application_key
commands: commands:
- source environment - source environment
- b2 authorize-account $ACCOUNT $KEY
- b2 upload-file $BUCKET $FILENAME $FILENAME - b2 upload-file $BUCKET $FILENAME $FILENAME
- echo Build artifacts avaliable at `b2 make-friendly-url $BUCKET $FILENAME` - echo Build artifacts avaliable at `b2 make-friendly-url $BUCKET $FILENAME`