From 8be8c8b8f4683791b225304d98d424fb65f69e63 Mon Sep 17 00:00:00 2001 From: L&H Date: Wed, 22 Nov 2023 14:51:13 +0800 Subject: [PATCH] chore: update publish.yml --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4b12ed8..37a8a44 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,9 +9,9 @@ jobs: env: SOURCE: dist/bundle.zip EXTENSION_ID: cjphebojlojkmfgclckgpnjdkgkfkmkf - CLIENT_ID: $WS_CLIENT_ID - CLIENT_SECRET: $WS_CLIENT_SECRET - REFRESH_TOKEN: $WS_REFRESH_TOKEN + CLIENT_ID: ${{ secrets.CWS_CLIENT_ID }} + CLIENT_SECRET: ${{ secrets.CWS_CLIENT_SECRET }} + REFRESH_TOKEN: ${{ secrets.CWS_REFRESH_TOKEN }} strategy: matrix: node-version: [20.x] @@ -24,4 +24,4 @@ jobs: - run: corepack enable - run: pnpm i - run: pnpm run bundle - - run: chrome-webstore-upload upload --source $SOURCE --extension-id $EXTENSION_ID --client-id $CLIENT_ID --client-secret $CLIENT_SECRET --refresh-token $REFRESH_TOKEN --auto-publish + - run: chrome-webstore-upload upload --auto-publish