We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1426768 commit 4b35108Copy full SHA for 4b35108
.github/workflows/tencent.yml
@@ -32,5 +32,13 @@ jobs:
32
bucket: ${{ secrets.BUCKET }}
33
region: ap-shanghai
34
35
- - name: Upload
36
- run: coscmd upload -rfs --delete dist/ / --ignore "./.git/*"
+ - name: Upload to COS
+ uses: horan-geeker/cos-action@1.0.0
37
+ with:
38
+ secret_id: ${{ secrets.SECRET_ID }}
39
+ secret_key: ${{ secrets.SECRET_KEY }}
40
+ cos_bucket: ${{ secrets.BUCKET }}
41
+ cos_region: ap-shanghai
42
+ local_path: ./dist
43
+ remote_path: /static/
44
+ clean: true
0 commit comments