From 07f0aa45eff7e819d2afd223bd2d75544b8835a7 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Mon, 29 Dec 2025 14:58:32 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20publish=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish-atom.yaml | 16 ++++++---------- .github/workflows/release-image.yml | 13 +++++++++++-- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish-atom.yaml b/.github/workflows/publish-atom.yaml index 0697a86b9..214e67c5a 100644 --- a/.github/workflows/publish-atom.yaml +++ b/.github/workflows/publish-atom.yaml @@ -45,18 +45,14 @@ jobs: pnpm install npm run build working-directory: ./packages/ui/certd-client - - run: | - pnpm install - working-directory: ./ - - name: zip_front - id: zip_front - run: | - rm -rf ./packages/ui/certd-client/dist/**/*.gz - zip -r ui.zip ./packages/ui/certd-client/dist - + - name: publish_to_atomgit id: publish_to_atomgit run: | + rm -rf ./packages/ui/certd-client/dist/**/*.gz + zip -r ui.zip ./packages/ui/certd-client/dist export ATOMGIT_TOKEN=${{ secrets.ATOMGIT_TOKEN }} + pnpm install npm run publish_to_atomgit - working-directory: ./ \ No newline at end of file + working-directory: ./ + \ No newline at end of file diff --git a/.github/workflows/release-image.yml b/.github/workflows/release-image.yml index 8921ae33f..cd58f95ac 100644 --- a/.github/workflows/release-image.yml +++ b/.github/workflows/release-image.yml @@ -117,7 +117,6 @@ jobs: # registry.cn-shenzhen.aliyuncs.com/handsfree/certd-agent:${{steps.get_certd_version.outputs.result}} # greper/certd-agent:latest # greper/certd-agent:${{steps.get_certd_version.outputs.result}} - - name: deploy-certd-doc uses: tyrrrz/action-http-request@master with: @@ -130,4 +129,14 @@ jobs: headers: | Content-Type: application/json retry-count: 3 - retry-delay: 5000 \ No newline at end of file + retry-delay: 5000 + + - name: publish_to_atomgit + id: publish_to_atomgit + run: | + rm -rf ./packages/ui/certd-client/dist/**/*.gz + zip -r ui.zip ./packages/ui/certd-client/dist + export ATOMGIT_TOKEN=${{ secrets.ATOMGIT_TOKEN }} + pnpm install + npm run publish_to_atomgit + working-directory: ./ \ No newline at end of file