From 7eacd28e0ff7814eae330661720aad2425f31101 Mon Sep 17 00:00:00 2001 From: "David G. Moore, Jr" Date: Sat, 21 Oct 2023 02:33:42 -0400 Subject: [PATCH] Update npm-publish-github-packages.yml --- .../workflows/npm-publish-github-packages.yml | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml index c952ccfe286..3821a74d627 100644 --- a/.github/workflows/npm-publish-github-packages.yml +++ b/.github/workflows/npm-publish-github-packages.yml @@ -27,7 +27,7 @@ jobs: - run: npm install;npm run build-ts - run: npm install -g npm-cli-login - publish-gpr: + publish-dgmjr-io: needs: build runs-on: ubuntu-latest steps: @@ -40,15 +40,14 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16 - registry-url: https://npm.pkg.github.com/ - token: ${{ secrets.GITHUB_TOKEN }} - scope: '@dgmjr-io' - - run: npm-cli-login -u dgmjr -p ${{ secrets.GITHUB_TOKEN }} -e dev@dgmjr.io -s @dgmjr -r https://npm.pkg.github.com/ - - run: npm publish --registry=https://npm.pkg.github.com/ + registry-url: ${{ vars.DGMJR_IO_NPM_ENDPOINT }} + token: ${{ secrets.PROGET_API_TOKEN }} + - run: npm-cli-login -u api -p ${{ secrets.PROGET_API_KEY }} -e dev@dgmjr.io -r ${{ vars.PROGET_NPM_ENDPOINT }} + - run: npm publish --registry=${{ vars.PROGET_NPM_ENDPOINT }} env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - publish-dgmjr-io: + NODE_AUTH_TOKEN: ${{ secrets.PROGET_API_KEY }} + + publish-gpr: needs: build runs-on: ubuntu-latest steps: @@ -61,9 +60,10 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16 - registry-url: ${{ vars.DGMJR_IO_NPM_ENDPOINT }} - token: ${{ secrets.PROGET_API_TOKEN }} - - run: npm-cli-login -u api -p ${{ secrets.PROGET_API_KEY }} -e dev@dgmjr.io -r ${{ vars.DGMJR_IO_NPM_ENDPOINT }} - - run: npm publish --registry=${{ vars.DGMJR_IO_NPM_ENDPOINT }} + registry-url: https://npm.pkg.github.com/ + token: ${{ secrets.GITHUB_TOKEN }} + scope: '@dgmjr-io' + - run: npm-cli-login -u dgmjr -p ${{ secrets.GITHUB_TOKEN }} -e dev@dgmjr.io -s @dgmjr -r https://npm.pkg.github.com/ + - run: npm publish --registry=https://npm.pkg.github.com/ env: - NODE_AUTH_TOKEN: ${{ secrets.PROGET_API_KEY }} + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}