diff --git a/.github/workflows/create-releases.yml b/.github/workflows/create-releases.yml index 7c09d64bb..2a5f9d49f 100644 --- a/.github/workflows/create-releases.yml +++ b/.github/workflows/create-releases.yml @@ -36,4 +36,4 @@ jobs: run: | bash ./bin/publish-npm env: - NPM_TOKEN: ${{ secrets.OPENAI_NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.OPENAI_NPM_TOKEN || secrets.NPM_TOKEN }} diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index b52ec0a4e..326067066 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -25,4 +25,4 @@ jobs: run: | bash ./bin/publish-npm env: - NPM_TOKEN: ${{ secrets.OPENAI_NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.OPENAI_NPM_TOKEN || secrets.NPM_TOKEN }} diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml index a94615c37..b640869d0 100644 --- a/.github/workflows/release-doctor.yml +++ b/.github/workflows/release-doctor.yml @@ -20,4 +20,4 @@ jobs: bash ./bin/check-release-environment env: STAINLESS_API_KEY: ${{ secrets.STAINLESS_API_KEY }} - NPM_TOKEN: ${{ secrets.OPENAI_NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.OPENAI_NPM_TOKEN || secrets.NPM_TOKEN }}