File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff 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()
You can’t perform that action at this time.
0 commit comments