diff options
| author | Dax Raad <[email protected]> | 2025-10-28 21:28:44 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-10-28 21:28:44 -0400 |
| commit | db3fb9d316d57c0673196a56fbe552d6fe66be26 (patch) | |
| tree | 80feeb47980403dc94835e2d9d9f7f8fc2455ce5 | |
| parent | cd79676b42cefad289c21631605c737fbe461f80 (diff) | |
| download | opencode-db3fb9d316d57c0673196a56fbe552d6fe66be26.tar.gz opencode-db3fb9d316d57c0673196a56fbe552d6fe66be26.zip | |
ci: stuff
| -rw-r--r-- | .github/workflows/publish.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c88860a0f..df1a36f77 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -53,13 +53,17 @@ jobs: - name: Install OpenCode run: curl -fsSL https://opencode.ai/install | bash + - name: Setup npm auth + run: | + echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc + - name: Publish run: | ./script/publish.ts env: OPENCODE_BUMP: ${{ inputs.bump }} OPENCODE_CHANNEL: latest + NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }} AUR_KEY: ${{ secrets.AUR_KEY }} - NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }} OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }} |
