Skip to content

Commit ecabebc

Browse files
ci: update release secrets (#388)
1 parent 45fad1b commit ecabebc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/create-releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ jobs:
3636
run: |
3737
bash ./bin/publish-npm
3838
env:
39-
NPM_TOKEN: ${{ secrets.OPENAI_NPM_TOKEN }}
39+
NPM_TOKEN: ${{ secrets.OPENAI_NPM_TOKEN || secrets.NPM_TOKEN }}

.github/workflows/publish-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
run: |
2626
bash ./bin/publish-npm
2727
env:
28-
NPM_TOKEN: ${{ secrets.OPENAI_NPM_TOKEN }}
28+
NPM_TOKEN: ${{ secrets.OPENAI_NPM_TOKEN || secrets.NPM_TOKEN }}

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
bash ./bin/check-release-environment
2121
env:
2222
STAINLESS_API_KEY: ${{ secrets.STAINLESS_API_KEY }}
23-
NPM_TOKEN: ${{ secrets.OPENAI_NPM_TOKEN }}
23+
NPM_TOKEN: ${{ secrets.OPENAI_NPM_TOKEN || secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)