From 75ca5b2b0b512f71c906550e5b0189600211b8f3 Mon Sep 17 00:00:00 2001 From: Asher Date: Wed, 26 Feb 2020 12:42:57 -0600 Subject: [PATCH] Add gcs upload to CI --- .travis.yml | 10 ++++++++++ ci/key.json.enc | Bin 0 -> 2352 bytes 2 files changed, 10 insertions(+) create mode 100644 ci/key.json.enc diff --git a/.travis.yml b/.travis.yml index d9278d4be..7490592bb 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 0000000000000000000000000000000000000000..9fa3a8f649e4e8d08ce30cf2be057e6af5dcb1a9 GIT binary patch literal 2352 zcmV-03D5T18j+^OO-05zmbrp>vz?7zAS3w7ix+cVnr~xClT1~T(r|~a2T`8XNeZn_`XG;V3)hzX6u^g5?;JLAGR6g{kn1J+F) zh8i1@ov%x876Y53H@uRxh{BSgsJV>bZ*Z~APdMK7LWr!LKmes;*2uZwa(w=FQiPJ+ zow$>dIGMz^PvU2-wNwmU4nMqWWA`pQ}Pti|!`$8JDTA>F4nU z!MvY#Ept+!$WKPFCd@Uzy4v;+SpKc5xeVKROmwq%mRxTMyoTEmiCpml@iAB605um!xskg5h$=A9>|04g{SqA7j}K^ zu3Cb`7xHJWg3a@8v)eXKU*5MGiPE5_CDnehxz$Cb^kYo1eOI>tg)NuPUYE|yf3MKq z?YN&0UH2a7XG49q*xq3MPT^j|pi53wflmIT>0X7Pem0oQWi#61^P>~5`&>0fAuuql(&A4kltzUMLb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