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