diff --git a/.travis.yml b/.travis.yml index d9278d4b..7490592b 100644 --- a/.travis.yml +++ b/.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 diff --git a/ci/key.json.enc b/ci/key.json.enc new file mode 100644 index 00000000..9fa3a8f6 Binary files /dev/null and b/ci/key.json.enc differ