Skip to content

Commit 7f9449e

Browse files
authored
chore(ci): add environment to auxiliary publishing workflow (#2331)
1 parent c09ab12 commit 7f9449e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish-auxiliary-packages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
startsWith(github.event.head_commit.message, 'chore(release): bump auxiliary packages')
2020
2121
runs-on: ubuntu-latest
22+
environment: Production
2223

2324
steps:
2425
- uses: mongodb-js/devtools-shared/actions/setup-bot-token@main
@@ -51,7 +52,7 @@ jobs:
5152
5253
- name: "Publish what is not already in NPM"
5354
env:
54-
NPM_TOKEN: ${{ secrets.DEVTOOLSBOT_NPM_TOKEN }}
55+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5556
run: |
5657
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc
5758
npm config list

0 commit comments

Comments
 (0)