We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 378bd62 commit af591ebCopy full SHA for af591eb
.github/workflows/deploy-website.yml
@@ -24,12 +24,12 @@ jobs:
24
25
- name: Build website
26
run: yarn build
27
-
28
- - name: Upload files to OSS
29
- uses: fangbinwei/aliyun-oss-website-action@v1
+
+ - name: Upload files to COS
+ uses: zkqiang/tencent-cos-action@v0.1.0
30
with:
31
- accessKeyId: ${{ secrets.ALIYUN_OSS_ACCESSKEY }}
32
- accessKeySecret: ${{ secrets.ALIYUN_OSS_ACCESSKEYSECRET }}
33
- bucket: "contributor-graph"
34
- endpoint: "http://oss-accelerate.aliyuncs.com/"
35
- folder: "build"
+ args: delete -r -f / && upload -r ./build/ /
+ secret_id: ${{ secrets.TENCENT_COS_SECRET_ID }}
+ secret_key: ${{ secrets.TENCENT_COS_SECRET_KEY }}
+ bucket: ${{ secrets.TENCENT_COS_BUCKET }}
+ region: ap-guangzhou
0 commit comments