diff --git a/.github/workflows/ce-provision-publish-docs.yml b/.github/workflows/ce-provision-publish-docs.yml index 8984d540f..c8347f5cd 100644 --- a/.github/workflows/ce-provision-publish-docs.yml +++ b/.github/workflows/ce-provision-publish-docs.yml @@ -29,16 +29,17 @@ jobs: with: ref: ${{ github.event.pull_request.base.ref }} - # First build and publish the markdown docs - - name: Build the table of contents - run: /bin/sh contribute/toc.sh - # Configures global Git variables for committing - name: Configure Git run: | /usr/bin/git config --global user.email "sysadm@codeenigma.com" /usr/bin/git config --global user.name "Code Enigma CI" /usr/bin/git config --global pull.rebase false + /usr/bin/git config --global --add safe.directory /__w/ce-provision/ce-provision + + # First build and publish the markdown docs + - name: Build the table of contents + run: /bin/sh contribute/toc.sh - name: Commit new table of contents back to the repo run: |