diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 7cccbe4..dfdfa5b 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -41,12 +41,13 @@ jobs: run: | git config user.name 'github-actions[bot]' git config user.email 'github-actions[bot]@users.noreply.github.com' + git remote set-url origin https://x-access-token/:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} git add . git commit -m "Auto-commit: Update docs with $VERSION_NAME." - name: Push changes run: | - git push origin HEAD:${GITHUB_REF#refs/heads/} + git push origin - name: Setup Pages uses: actions/configure-pages@v3