From 17847c3082e52431334a9ff3748da20b1cc50d6f Mon Sep 17 00:00:00 2001 From: acalcutt Date: Sun, 11 Sep 2022 08:48:37 -0400 Subject: [PATCH] Fix tokens --- .github/workflows/node-release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/node-release.yml b/.github/workflows/node-release.yml index bb073547f77..68cd1ed7bae 100644 --- a/.github/workflows/node-release.yml +++ b/.github/workflows/node-release.yml @@ -27,7 +27,7 @@ jobs: with: submodules: recursive fetch-depth: 0 - token: ${{ secrets.CR_PAT }} + token: ${{ secrets.NODE_PRE_GYP_GITHUB_TOKEN }} - name: Setup node uses: actions/setup-node@v3 @@ -166,7 +166,7 @@ jobs: npm run package npm run release env: - NODE_PRE_GYP_GITHUB_TOKEN: ${{ secrets.CR_PAT }} + NODE_PRE_GYP_GITHUB_TOKEN: ${{ secrets.NODE_PRE_GYP_GITHUB_TOKEN }} - name: Publish to NPM (release) if: matrix.os == 'ubuntu-20.04' && matrix.node == '18' && github.ref == 'refs/heads/main' && github.event.inputs.version != 'prerelease' @@ -174,7 +174,7 @@ jobs: npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} npm publish --access public env: - NPM_TOKEN: ${{ secrets.NPM_ORG_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish to NPM (prerelease) if: matrix.os == 'ubuntu-20.04' && matrix.node == '18' && github.ref == 'refs/heads/main' && github.event.inputs.version == 'prerelease' @@ -182,5 +182,5 @@ jobs: npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} npm publish --tag next --access public env: - NPM_TOKEN: ${{ secrets.NPM_ORG_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}