未验证 提交 75ca5b2b 编写于 作者: A Asher

Add gcs upload to CI

上级 082f25fa
......@@ -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
......
文件已添加
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册