From f0e23f8c9f646660386f4397ca100cbf1b86d78f Mon Sep 17 00:00:00 2001 From: ciaochaos <1272777550@qq.com> Date: Fri, 1 May 2020 13:41:00 +0800 Subject: [PATCH] 0.1.0.1 --- .github/workflows/nodejs.yml | 12 +++++++++++- .idea/workspace.xml | 20 +++++++++++++------- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index c003a54..630812d 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -13,4 +13,14 @@ jobs: - name: Install Dependencies run: yarn - name: Build - run: yarn build \ No newline at end of file + run: yarn build + + # 使用云开发 Github Action 部署 + - name: Upload COS + uses: zkqiang/tencent-cos-action@master + with: + args: delete -r -f / && upload -r ./dist/ / + secret_id: ${{ secrets.SECRET_ID }} + secret_key: ${{ secrets.SECRET_KEY }} + bucket: ${{ secrets.BUCKET }} + region: ap-shanghai \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index dbdb43a..d1d1cba 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -13,7 +13,6 @@ -