From ed0379549fbb084dff548dcd0f981632ab6ee890 Mon Sep 17 00:00:00 2001 From: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> Date: Thu, 14 Nov 2024 19:56:59 +0600 Subject: [PATCH] fix(custom): add env variables Renamed the token to the appropriate name --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 07c6093..c964b79 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,7 +23,7 @@ jobs: node-version: "lts/*" - name: Configure npm for Authentication run: | - echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc + echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_NUXT_TOKEN }}" >> ~/.npmrc echo "@prisma:registry=https://registry.npmjs.org/" >> ~/.npmrc - run: npm clean-install - run: npx nuxi prepare @@ -33,4 +33,5 @@ jobs: - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_NUXT_TOKEN }} run: npm run release