Add gcs upload to CI
This commit is contained in:
parent
082f25faf1
commit
75ca5b2b0b
10
.travis.yml
10
.travis.yml
@ -24,6 +24,9 @@ jobs:
|
||||
node_js: 12
|
||||
script: yarn && yarn vscode && travis_wait 60 ci/release.sh
|
||||
|
||||
before_deploy:
|
||||
- openssl aes-256-cbc -K $encrypted_0c1654c01c97_key -iv $encrypted_0c1654c01c97_iv -in ./ci/key.json.enc -out ./ci/key.json -d
|
||||
|
||||
deploy:
|
||||
- provider: releases
|
||||
edge: true
|
||||
@ -36,6 +39,13 @@ deploy:
|
||||
- release/*.zip
|
||||
on:
|
||||
tags: true
|
||||
- provider: gcs
|
||||
edge: true
|
||||
bucket: "codesrv-ci.cdr.sh"
|
||||
key_file: ./ci/key.json
|
||||
local_dir: release-upload
|
||||
on:
|
||||
tags: true
|
||||
|
||||
cache:
|
||||
timeout: 600
|
||||
|
BIN
ci/key.json.enc
Normal file
BIN
ci/key.json.enc
Normal file
Binary file not shown.
Reference in New Issue
Block a user