From 7503a1cbe7d603793ef7a69f8c69005a2b0384ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=AE=E6=96=87=E6=B6=9B?= Date: Wed, 11 Oct 2023 15:17:17 +0800 Subject: [PATCH] ci: adjust the upload oss location --- .github/workflows/pages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 6031af0..5b27d5a 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -38,5 +38,5 @@ jobs: run: | wget https://github.com/aliyun/ossutil/releases/download/v.1.7.17/ossutil-v1.7.17-linux-amd64.zip unzip ossutil-v1.7.17-linux-amd64.zip && cp ./ossutil-v1.7.17-linux-amd64/ossutil ${{github.workspace}}/ && chmod +x ${{github.workspace}}/ossutil - ${{github.workspace}}/ossutil cp ./.vitepress/dist/ oss://lb-assets/github/release/longbridge-pro-docs/docs/ -u -r -j 10 -e oss-cn-hangzhou.aliyuncs.com -i ${{ secrets.FE_LB_ASSET_ACCESS_KEY_ID }} -k ${{ secrets.FE_LB_ASSET_ACCESS_KEY_SECRET }} --exclude "*.html" --meta=Cache-Control:max-age=31536000 - ${{github.workspace}}/ossutil cp ./.vitepress/dist/ oss://lb-assets/github/release/longbridge-pro-docs/docs/ -u -r -j 10 -e oss-cn-hangzhou.aliyuncs.com -i ${{ secrets.FE_LB_ASSET_ACCESS_KEY_ID }} -k ${{ secrets.FE_LB_ASSET_ACCESS_KEY_SECRET }} --include "*.html" --meta=Cache-Control:no-cache \ No newline at end of file + ${{github.workspace}}/ossutil cp ./.vitepress/dist/ oss://lb-assets/github/release/release-notes/longbridge-pro-docs/ -u -r -j 10 -e oss-cn-hangzhou.aliyuncs.com -i ${{ secrets.FE_LB_ASSET_ACCESS_KEY_ID }} -k ${{ secrets.FE_LB_ASSET_ACCESS_KEY_SECRET }} --exclude "*.html" --meta=Cache-Control:max-age=31536000 + ${{github.workspace}}/ossutil cp ./.vitepress/dist/ oss://lb-assets/github/release/release-notes/longbridge-pro-docs/ -u -r -j 10 -e oss-cn-hangzhou.aliyuncs.com -i ${{ secrets.FE_LB_ASSET_ACCESS_KEY_ID }} -k ${{ secrets.FE_LB_ASSET_ACCESS_KEY_SECRET }} --include "*.html" --meta=Cache-Control:no-cache \ No newline at end of file