1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-26 12:15:26 +00:00

Add gcs upload to CI

This commit is contained in:
Asher 2020-02-26 12:42:57 -06:00
parent 082f25faf1
commit 75ca5b2b0b
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A
2 changed files with 10 additions and 0 deletions

View File

@ -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

Binary file not shown.