From cb4cf835bc3e157f74e4990ccf8fbe3892e117ed Mon Sep 17 00:00:00 2001 From: cb-palanim Date: Sat, 20 Jul 2024 11:52:25 +0530 Subject: [PATCH] feat: update secret name Update secret name --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25442c0..60ce2fe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,20 +40,20 @@ jobs: npm config set //registry.npmjs.com/:_authToken=$NPM_TOKEN npm config list env: - NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN }} + NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN_1 }} - name: Yarn Tests run: yarn test - name: Pre-Release package if: github.ref == 'refs/heads/next' run: npm run release -- --ci --preRelease=beta -VV env: - NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN }} + NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN_1 }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Release package if: github.ref == 'refs/heads/master' run: npm run release -- --ci -VV env: - NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN }} + NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN_1 }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create PR for package.json and changelogs run: |