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 @@
-
@@ -78,7 +77,7 @@
1588240852207
-
+
1588308749650
@@ -101,7 +100,14 @@
1588308831869
-
+
+ 1588309902902
+
+
+
+ 1588309902902
+
+
@@ -128,10 +134,10 @@
-
+
-
+
@@ -140,10 +146,10 @@
-
+
-
+
\ No newline at end of file