diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e4447b..27ef4da 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,11 +47,13 @@ jobs: run: | git config user.name "github-actions[bot]" git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git remote set-url origin https://x-access-token:${{ secrets.GH_PAT }}@github.com/${{ github.repository }} git add index.html git commit -m "chore: update version to ${{ steps.version.outputs.version }}" git push - name: Create and push tag run: | + git remote set-url origin https://x-access-token:${{ secrets.GH_PAT }}@github.com/${{ github.repository }} git tag "v${{ steps.version.outputs.version }}" git push origin "v${{ steps.version.outputs.version }}"