Browse Source

ci: fix publish auth failure

Aiden Cline 3 months ago
parent
commit
89285d8f5f
1 changed files with 6 additions and 0 deletions
  1. 6 0
      .github/workflows/publish.yml

+ 6 - 0
.github/workflows/publish.yml

@@ -63,6 +63,12 @@ jobs:
           node-version: "24"
           registry-url: "https://registry.npmjs.org"
 
+      - name: Setup Git Identity
+        run: |
+          git config --global user.email "[email protected]"
+          git config --global user.name "opencode"
+          git remote set-url origin https://x-access-token:${{ secrets.SST_GITHUB_TOKEN }}@github.com/${{ github.repository }}
+
       - name: Publish
         id: publish
         run: ./script/publish-start.ts