From 7789ba4d36d43384621e3a8dd29b6d1d7b5a7676 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Tue, 30 Dec 2025 00:58:54 +0800 Subject: [PATCH] chore: atom ui publish --- .github/workflows/publish-atom.yaml | 2 +- scripts/publish-atomgit.js | 2 +- trigger/deploy.trigger | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-atom.yaml b/.github/workflows/publish-atom.yaml index afa1c64d6..c491936d4 100644 --- a/.github/workflows/publish-atom.yaml +++ b/.github/workflows/publish-atom.yaml @@ -51,7 +51,7 @@ jobs: run: | rootDir=$(pwd) rm -rf ./packages/ui/certd-client/dist/**/*.gz - cd ./packages/ui/certd-client/dist && zip -r ../../../ui.zip . + cd ./packages/ui/certd-client/dist && zip -r ../ui.zip . cd $rootDir export ATOMGIT_TOKEN=${{ secrets.ATOMGIT_TOKEN }} pnpm install diff --git a/scripts/publish-atomgit.js b/scripts/publish-atomgit.js index 70760b659..0be8a4a8b 100644 --- a/scripts/publish-atomgit.js +++ b/scripts/publish-atomgit.js @@ -169,7 +169,7 @@ async function uploadFile(url, headers, data) { async function publishToAtomgit() { const release = await createRelease() const uploadUrl = await getUploadUrl() - const fileName = `ui.zip` + const fileName = `./packages/ui/certd-client/ui.zip` const fileData = fs.createReadStream(fileName) const contentLength = fs.statSync(fileName).size uploadUrl.headers['Content-Length'] = contentLength diff --git a/trigger/deploy.trigger b/trigger/deploy.trigger index b8626c4cf..7ed6ff82d 100644 --- a/trigger/deploy.trigger +++ b/trigger/deploy.trigger @@ -1 +1 @@ -4 +5