Browse Source

fix: apply 64dc681c970ae57f2d1fc5d357eff5ccc57381e6 to release (#5749)

ports the same weird crazy remote fixup into the release so we dont have failing docs releases as part of our normal release workflow.

Signed-off-by: Jakob Möller <contact@jakob-moeller.com>
Jakob Möller 3 months ago
parent
commit
2e599d4af6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .github/workflows/release.yml

+ 3 - 0
.github/workflows/release.yml

@@ -71,9 +71,12 @@ jobs:
           GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
 
       - name: Configure Git
+        env:
+          TOKEN: ${{ secrets.GITHUB_TOKEN }}
         run: |
           git config user.name "$GITHUB_ACTOR"
           git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
+          git remote set-url origin "https://x-access-token:${{ env.TOKEN }}@github.com/${{ github.repository }}.git"
 
       - name: Update Docs
         if: github.ref == 'refs/heads/main'