Skip to content

Commit 1837b79

Browse files
committed
wip
1 parent f2c5b92 commit 1837b79

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,12 @@ jobs:
4848
# if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
4949
shell: bash
5050
env:
51-
OSSUTIL_ACCESS_KEY_ID: ${{ secrets.ALICLOUDOSS_KEY_ID }}
52-
OSSUTIL_ACCESS_KEY_SECRET: ${{ secrets.ALICLOUDOSS_KEY_SECRET }}
53-
OSSUTIL_ENDPOINT: https://oss-cn-beijing.aliyuncs.com
51+
OSS_ACCESS_KEY_ID: ${{ secrets.ALICLOUDOSS_KEY_ID }}
52+
OSS_ACCESS_KEY_SECRET: ${{ secrets.ALICLOUDOSS_KEY_SECRET }}
53+
OSS_REGION: oss-cn-beijing
54+
OSS_ENDPOINT: https://oss-cn-beijing.aliyuncs.com
5455
run: |
55-
ossutil -i ${{ env.OSSUTIL_ACCESS_KEY_ID }} -k ${{ env.OSSUTIL_ACCESS_KEY_SECRET }} -e ${{ env.OSSUTIL_ENDPOINT }} cp -r .vitepress/dist/ oss://rustfs-docs/ --force --recursive
56+
ossutil cp -r .vitepress/dist/ oss://rustfs-docs/ --force --recursive
5657
echo "Successfully uploaded to OSS"
5758
- name: Show OSS error log if exists
5859
if: failure()

0 commit comments

Comments
 (0)