From: Jérôme Benoit Date: Fri, 8 Sep 2023 16:31:19 +0000 (+0200) Subject: build(ci): use a dedicated PAT to publish on GPR X-Git-Tag: v2.6.44~3 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=47d09e7c2b68dfaf2df63ab159d9564c8f52a179;p=poolifier.git build(ci): use a dedicated PAT to publish on GPR Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index c95d5295..17bf5218 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -116,16 +116,16 @@ jobs: if: ${{ contains(steps.package-version.outputs.version, '-') == false }} run: pnpm publish --no-git-checks env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.GPR_TOKEN }} - name: Publish Pre-Release if: ${{ contains(steps.package-version.outputs.version, '-') == true && contains(steps.package-version.outputs.version, '-beta') == false }} run: pnpm publish --no-git-checks --tag next env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.GPR_TOKEN }} - name: Publish Beta Release if: ${{ contains(steps.package-version.outputs.version, '-beta') == true }} run: pnpm publish --no-git-checks --tag beta env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.GPR_TOKEN }}