Skip to content

Commit 89285d8

Browse files
committed
ci: fix publish auth failure
1 parent 2e85391 commit 89285d8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ jobs:
6363
node-version: "24"
6464
registry-url: "https://registry.npmjs.org"
6565

66+
- name: Setup Git Identity
67+
run: |
68+
git config --global user.email "opencode@sst.dev"
69+
git config --global user.name "opencode"
70+
git remote set-url origin https://x-access-token:${{ secrets.SST_GITHUB_TOKEN }}@github.com/${{ github.repository }}
71+
6672
- name: Publish
6773
id: publish
6874
run: ./script/publish-start.ts

0 commit comments

Comments
 (0)