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