diff --git a/.github/workflows/github-create-release.yml b/.github/workflows/github-create-release.yml index 7452285..d9af2f5 100644 --- a/.github/workflows/github-create-release.yml +++ b/.github/workflows/github-create-release.yml @@ -18,7 +18,7 @@ jobs: - run: npm install name: Install packages env: - NODE_AUTH_TOKEN: ${{secrets.GHPR_NPM_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.AUTOMATOR_DEVOPS_PAT}} - run: npm run test publish: name: "Build and publish package" @@ -33,10 +33,10 @@ jobs: scope: '@openaip' - run: npm install env: - NODE_AUTH_TOKEN: ${{secrets.GHPR_NPM_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.AUTOMATOR_DEVOPS_PAT}} - run: npm run build env: - NODE_AUTH_TOKEN: ${{secrets.GHPR_NPM_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.AUTOMATOR_DEVOPS_PAT}} - id: bump-version uses: phips28/gh-action-bump-version@master name: Bump package version @@ -69,7 +69,7 @@ jobs: - run: npm publish --access public name: Publish to GitHub Package Registry env: - NODE_AUTH_TOKEN: ${{secrets.GHPR_NPM_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.AUTOMATOR_DEVOPS_PAT}} # publish to NPM for public access - uses: actions/setup-node@v3 with: