Skip to content

Commit a0d90ea

Browse files
committed
replace bucket
1 parent c2eda88 commit a0d90ea

File tree

2 files changed

+4
-32
lines changed

2 files changed

+4
-32
lines changed

.claude/settings.local.json

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name:
1+
name: Deploy Docs to Aliyun OSS
22

33
on:
44
push:
@@ -46,10 +46,11 @@ jobs:
4646
OSS_ACCESS_KEY_SECRET: ${{ secrets.ALICLOUDOSS_KEY_SECRET }}
4747
OSS_REGION: cn-beijing
4848
OSS_ENDPOINT: https://oss-cn-beijing.aliyuncs.com
49+
OSS_BUCKET: rustfs-docs
4950
run: |
5051
# clean before
51-
ossutil rm -r oss://rustfs-docs/ --force --recursive
52-
ossutil cp -r .vitepress/dist/ oss://rustfs-docs/ --force --recursive
52+
ossutil rm -r oss://$OSS_BUCKET/ --force --recursive
53+
ossutil cp -r .vitepress/dist/ oss://$OSS_BUCKET/ --force --recursive
5354
echo "Successfully uploaded to OSS"
5455
- name: Show OSS error log if exists
5556
if: failure()

0 commit comments

Comments
 (0)