|
@@ -27,10 +27,12 @@ jobs:
|
|
|
go-version-file: "go.mod"
|
|
go-version-file: "go.mod"
|
|
|
|
|
|
|
|
- name: Configure Git
|
|
- name: Configure Git
|
|
|
|
|
+ env:
|
|
|
|
|
+ TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
run: |
|
|
run: |
|
|
|
git config user.name "$GITHUB_ACTOR"
|
|
git config user.name "$GITHUB_ACTOR"
|
|
|
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
|
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
|
|
- git config url.https://${GITHUB_TOKEN}@github.com/.insteadOf https://github.com/
|
|
|
|
|
|
|
+ git remote set-url origin "https://x-access-token:${{ env.TOKEN }}@github.com/${{ github.repository }}.git"
|
|
|
|
|
|
|
|
- name: Build Docs
|
|
- name: Build Docs
|
|
|
run: make docs.publish
|
|
run: make docs.publish
|