Skip to content

Commit

Permalink
add npm token to publish to the @Red-Hat-Developer-Hub scope
Browse files Browse the repository at this point in the history
Signed-off-by: Kashish Mittal <[email protected]>
  • Loading branch information
04kash committed Oct 15, 2024
1 parent 100dc44 commit c1305b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release_workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ jobs:

- name: publish
run: |
yarn config set -H 'npmAuthToken' "${{ secrets.NPM_TOKEN }}"
yarn config set -H 'npmAuthToken' "${{ secrets.RHDH_NPM_TOKEN }}"
yarn workspaces foreach -v --no-private npm publish --access public --tolerate-republish --dry-run
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.RHDH_NPM_TOKEN }}

- name: Create tag
working-directory: ${{ github.workspace }}/scripts/ci
Expand Down

0 comments on commit c1305b9

Please sign in to comment.