diff --git a/.github/workflows/ce-provision-publish-docs.yml b/.github/workflows/ce-provision-publish-docs.yml index b7532a67b..b87f9afe5 100644 --- a/.github/workflows/ce-provision-publish-docs.yml +++ b/.github/workflows/ce-provision-publish-docs.yml @@ -58,12 +58,6 @@ jobs: # First build and publish the markdown docs - name: Build and commit table of contents and README files back to the repo run: | - /usr/bin/git pull origin docs-${{ github.event.pull_request.base.ref }} - /usr/bin/git fetch origin ${{ github.event.pull_request.base.ref }} - /usr/bin/git checkout -b ${{ github.event.pull_request.base.ref }} - /usr/bin/git pull origin ${{ github.event.pull_request.base.ref }} - /usr/bin/git checkout docs-${{ github.event.pull_request.base.ref }} - /usr/bin/git merge origin/${{ github.event.pull_request.base.ref }} --allow-unrelated-histories /bin/sh contribute/toc.sh /usr/bin/find . -name "*.md" | xargs git add /usr/bin/git diff --staged --quiet || /usr/bin/git commit -am "GitHub Actions - updating markdown docs - ${{ github.event.repository.updated_at }}"