From ee0c0833e911ed0b6f7f7c42c97a5a59ff381450 Mon Sep 17 00:00:00 2001 From: Kaviilee Date: Fri, 22 Nov 2024 22:51:32 +0800 Subject: [PATCH] ci: update yml beta --- .github/workflows/upload.yml | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml index 21b9cae..376fb18 100644 --- a/.github/workflows/upload.yml +++ b/.github/workflows/upload.yml @@ -18,21 +18,8 @@ jobs: endpoint: "oss-cn-hangzhou.aliyuncs.com" access-key-id: ${{ secrets.AccessKey_ID }} access-key-secret: ${{ secrets.Access_Key_Secret }} - - run: | - mkdir -p temp_sync - cp -r $(ls -A | grep -v temp_sync) temp_sync/ - - # 删除不需要的文件和文件夹 - rm -rf temp_sync/.git \ - temp_sync/.github \ - temp_sync/utils \ - temp_sync/ossutil_output \ - temp_sync/README.md \ - temp_sync/.gitignore \ - temp_sync/package.json \ - temp_sync/theme.json \ - temp_sync/index.js - - ossutil sync temp_sync/ oss://jx3box/logo/ - # 清理临时目录 - rm -rf temp_sync + - run: ossutil cp -rf logo oss://jx3box/logo/logo/ + - run: ossutil cp -rf logo-dark oss://jx3box/logo/logo-dark/ + - run: ossutil cp -rf logo-light oss://jx3box/logo/logo-light/ + - run: ossutil cp -rf logo-golden oss://jx3box/logo/logo-golden/ + - run: ossutil cp -rf app.json oss://jx3box/logo/