diff options
-rw-r--r-- | .github/workflows/bun-dependenies-build.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/bun-dependenies-build.yml b/.github/workflows/bun-dependenies-build.yml index cfd22fe19..2d7cb9a69 100644 --- a/.github/workflows/bun-dependenies-build.yml +++ b/.github/workflows/bun-dependenies-build.yml @@ -106,14 +106,16 @@ jobs: - name: Publish to npm if: github.ref != 'refs/heads/main' env: - NPM_TOKEN: ${{secrets.NPM_BUN_TYPES_TOKEN}} + NPM_TOKEN: ${{secrets.BUN_DEPENDENCIES_NPM_TOKEN}} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | cd ${{runner.temp}}/dependencies npm publish --tag canary --access=public - name: Publish to npm if: github.ref == 'refs/heads/main' env: - NPM_TOKEN: ${{secrets.NPM_BUN_TYPES_TOKEN}} + NPM_TOKEN: ${{secrets.BUN_DEPENDENCIES_NPM_TOKEN}} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | cd ${{runner.temp}}/dependencies npm publish --tag next --access=public |