diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 890f99de..d5888fe7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,13 +17,14 @@ jobs: - name: git-config run: | - git config user.name ${{ github.repository_owner }} - git config user.email ${{ github.repository_owner }}@users.noreply.github.com + git config --global user.name ${{ github.repository_owner }} + git config --global user.email ${{ github.repository_owner }}@users.noreply.github.com - name: update-api-docs uses: actions/checkout@v3 with: ref: gh-pages + fetch-depth: 0 - run: | git rebase origin/master sudo ./docs/api/generate_api_docs.sh