2
0
Эх сурвалжийг харах

ci: fix publish auth failure

Aiden Cline 4 сар өмнө
parent
commit
89285d8f5f

+ 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