From f9e901c5d269c53ea3733b983da5d909504c1cf3 Mon Sep 17 00:00:00 2001 From: KRM7 <70973547+KRM7@users.noreply.github.com> Date: Thu, 17 Aug 2023 20:14:50 +0200 Subject: [PATCH] Update docs.yml --- .github/workflows/docs.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 890f99de..49a30126 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,16 +17,17 @@ 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 + sudo bash ./docs/api/generate_api_docs.sh mv docs/api/sphinx-out/* docs/ git commit --all --amend --no-edit git push --force-with-lease